This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ASCII and BINARY files. Why?


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]