Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
October 31, 2005, 11:48 pm
rate this thread
Re: Hex strings treated differently when read from STDIN?
Probably because it isn't one.
Have a look at the data that you are passing to perl:
echo '\x\x\x\x' | cat
echo '\x\x\x\x' | wc -c
You are passing a 25-character long string to perl when I think
you were trying to pass it a 4-character long string.
Tad McClellan SGML consulting
email@example.com Perl programming
Fort Worth, Texas
- » using perl to print yesterday's date, but with formatting options ?
- — Previous thread in » PERL Discussions
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum