[lug] Problem with bash script

Jeffrey Haemer jeffrey.haemer at gmail.com
Fri Oct 17 10:34:16 MDT 2008


> Use:
> echo -ne '\x02\x03\x00\x00\x05\x00\x33\x00'
>

Or even

   printf  '\x02\x03\x00\x00\x05\x00\x33\x00'

The shell's printf is easier for some to remember than "echo -ne", and can
be easier to modify to do fancy things when called on, if you're used to C's
printf().

-- 
Jeffrey Haemer <jeffrey.haemer at gmail.com>
720-837-8908 [cell]
http://goyishekop.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20081017/c2f4b970/attachment.html>


More information about the LUG mailing list