Re: two text/binary oddities (Users Guide Alert)

2004-02-20 Thread Christopher Faylor
On Fri, Feb 20, 2004 at 01:34:09AM -0600, Joshua Daniel Franklin wrote: >On Thu, Feb 19, 2004 at 06:21:55PM -0500, Christopher Faylor wrote: >> On Thu, Feb 19, 2004 at 06:37:12PM +, Robert R Schneck wrote: >> >Short form: >> >1) "cat > foo" creates foo with DOS line endings... no matter what. >

Re: two text/binary oddities (Users Guide Alert)

2004-02-19 Thread Joshua Daniel Franklin
On Thu, Feb 19, 2004 at 06:21:55PM -0500, Christopher Faylor wrote: > On Thu, Feb 19, 2004 at 06:37:12PM +, Robert R Schneck wrote: > >Short form: > >1) "cat > foo" creates foo with DOS line endings... no matter what. > >2) A control-Z in a file doesn't act as end-of-file in text mode, > >desp

Re: two text/binary oddities (Users Guide Alert)

2004-02-19 Thread Christopher Faylor
On Thu, Feb 19, 2004 at 06:37:12PM +, Robert R Schneck wrote: >Short form: >1) "cat > foo" creates foo with DOS line endings... no matter what. >2) A control-Z in a file doesn't act as end-of-file in text mode, >despite what the Cygwin User's Guide says. Joshua, could you remove anything whic

two text/binary oddities

2004-02-19 Thread Robert R Schneck
Short form: 1) "cat > foo" creates foo with DOS line endings... no matter what. 2) A control-Z in a file doesn't act as end-of-file in text mode, despite what the Cygwin User's Guide says. Long form: 1) Apparently, cat sometimes explicitly sets stdout to O_TEXT. This occurs twice in the source,