ASCII and BINARY files. Why?

dahms@ifk20.mach.uni-karlsruhe.de dahms@ifk20.mach.uni-karlsruhe.de
Fri Jan 31 14:34:00 GMT 1997


Hi, you wrote:

: The issue of modes on pipes would be much less of a problem if the
: mechanism for converting between DOS/Win text and C native
: text were a 1:1 mapping (i.e. NL->CRLF, CRLF->NL, CR->CR(always),
: (and LF->NL, but that's a side-issue)).  This way, if I want to pipe
: "gzip -dc file | tar xvf -" (as I often do), it wouldn't matter what mode
: the pipe was created in as  long as it was the same mode on both ends,
: because any changes introduced in a C->text conversion would be exactly
: reversed in the text->C conversion on the other end of the pipe.

Sounds good.
But how do you define LF vs. NL? I consider them to be the same.

I often use "tar cvvf - . | gzip > file".
[Your next paragraph about file redirection deleted]


Bye, Heribert (dahms@ifk20.mach.uni-karlsruhe.de)
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list