|
From: Keith M. <kei...@us...> - 2010-03-29 18:26:40
|
On Sunday 28 March 2010 20:26:50 Łukasz Stelmach wrote: > grep from MSYS includes CR as a part of pattern read from a file > with a -f option. This seems to be rather obvious bug, doesn't it? No, not really. All MSYS tools are designed to process Unix format files; IIRC, it was a conscious design decision that any CR present in any input file would be considered significant. > Is there any magic trick to overcome it? Use dos2unix, (or the d2u filter), to convert your pattern file to the proper format. -- Regards, Keith. |