Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4821893
By: keithmarshall

Ok, I'm playing devil's advocate here, but shouldn't the output from a native
port of grep be CRLF anyway?  Why would *any* tool, intended for processing
text files and compiled natively on Woe32, explicitly force stdout to _O_BINARY
mode, (which would be required to achieve LF, rather than CRLF output)?

IMO, (which probably doesn't count for much here, since I use the MSYS ports
of tools such as grep, and I expect them to force _O_BINARY mode anyway), this
could be considered a bug in the GnuWin32 port.

This said, the `-U' (a.k.a. `--binary') option may be helpful in your case;
see http://man.linuxquestions.org/?query=grep&section=0&type=2 for details.

Regards,
Keith.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=74807

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to