http://qs321.pair.com?node_id=351628


in reply to Re: Re: Re: Re: Need a better way to count input lines
in thread Need a better way to count input lines

Are you using linux or cygwin?

As you were processing Word data, I (stupidly) assumed that you were using Win32 (native). Try

perl -nle' exit if $. == 15; print unpack "H*", $_' testdata.txt

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail