Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=5116202 By: gnuwin32
I've (finally) looked into this. It appears that this behavior is by design, so actually it is a feature. Basically grep behaves in this way because it can also grep binary files (this s advertised as an option and a possible use of grep), for which conversion to CRLF would be inappropriate. In general, I'm not in favor of changing behavior that is by design; instead one should address the maintainer. The one possibility I see for such a request would be a combination of the -a (--text) option with CRLF conversion, since then the user explicitly requests all files to be viewed as text files, and so all output might be regarded as text output. In the port of grep-2.5.3, I will for the time being implement this combination of --text and CRLF output, provided no-one objects, beforehand or later. ______________________________________________________________________ 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ GnuWin32-Users mailing list GnuWin32-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnuwin32-users