Nicholas Hawthorn
2017-08-26 00:03:58 UTC
Say we make a one line text file called "a" that contains
w CR LF
and then give the command:
grep -v "<" < a > b
File "b" will consist of:
w LF
In effect, grep has removed the CR. The bug was first found in a 66 line
.bat file where it was a bit of a nuisance.
For what it's worth grep.exe on my system is 80412 bytes and is dated 23
Jan 2014.
Best wishes,
Nick Hawthorn
w CR LF
and then give the command:
grep -v "<" < a > b
File "b" will consist of:
w LF
In effect, grep has removed the CR. The bug was first found in a 66 line
.bat file where it was a bit of a nuisance.
For what it's worth grep.exe on my system is 80412 bytes and is dated 23
Jan 2014.
Best wishes,
Nick Hawthorn