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
In Section
Seekers of Perl Wisdom