Don't ask to ask, just ask | |
PerlMonks |
Re^5: One-liner only checking the first line of the input fileby stevieb (Canon) |
on Nov 11, 2015 at 15:04 UTC ( [id://1147464]=note: print w/replies, xml ) | Need Help?? |
That's a MacOS line ending \r, aka a carriage return. See if this works:
The -0 flag sets the input record separator (line ending) to \r in octal form.
In Section
Seekers of Perl Wisdom
|
|