Do this:
perl -anE '/(\R)/; say unpack("H*", $1);' input.txt
It appears as your file is being read as one long string. If you're on *nix, your output should be 0a per line for as many lines you have in the file. Post what the output shows.
In reply to Re^3: One-liner only checking the first line of the input file
by stevieb
in thread One-liner only checking the first line of the input file
by TJCooper
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |