kim.holburn at gmail.com
Sun Aug 20 21:37:58 UTC 2017
> On 2017/Aug/21, at 4:21 AM, Bryan Kilgallin (iiNet) via linux <linux at lists.samba.org> wrote:
> Thanks again Scott:
> The problem was with the sample text file. I think that some unfortunate CR/LF line-ending combination had caused trouble.
perl -pi.bak -e 's/\r\n/\n/g' Sample.txt
Will change windows text files with CR/LF into linux text files with just LF. The original file will be renamed to Sample.txt.bak.
> Whereas with a different sample text file, the grep operations worked fine!
> linux mailing list
> linux at lists.samba.org
IT Network & Security Consultant
T: +61 2 61402408 M: +61 404072753
mailto:kim at holburn.net aim://kimholburn
skype://kholburn - PGP Public Key on request
More information about the linux