This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: ASCII and BINARY files. Why?
- To: riche at crl dot com
- Subject: Re: ASCII and BINARY files. Why?
- From: dahms at ifk20 dot mach dot uni-karlsruhe dot de
- Date: Fri, 31 Jan 1997 23:34:37 EST
- CC: gnu-win32 at cygnus dot com, dahms at ifk20 dot mach dot uni-karlsruhe dot de
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".