delorie.com/archives/browse.cgi | search |
Josh Schulte wrote: > > Reading my previous message below may provide a little more information, > but basically what is happening is I am getting \r\n at the end of my > lines in my files wether or not the directory is mounted in textmode or > binmode. Is there a bug in mount/cygwin? > > Below are a perl script and results to illustrate the problem. > > DOS INSTALL RESULTS > ------------------- > > $ mount > Device Directory Type Flags > C:\cygwin\bin /usr/bin system textmode > C:\cygwin\lib /usr/lib system textmode > C:\cygwin / system textmode > > $ ./testperl > <-*>line one > <-*>line two > <-*>line three > > UNIX INSTALL RESULTS > -------------------- > > $ mount > Device Directory Type Flags > C:\cygwin\bin /usr/bin system binmode > C:\cygwin\lib /usr/lib system binmode > C:\cygwin / system binmode > -8<- > > C:\development\Tools\win386\..\.. /eq user textmode > C:\cygwin\bin /usr/bin system binmode > C:\cygwin\lib /usr/lib system binmode > C:\cygwin / system binmode > c: /c user textmode > d: /d user textmode > First, of all when having mixed binmode, textmode I would expect you to end up with \r\n line endings. Second, give us the output of `cygcheck perl'. Earnie. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |