in reply to Re^2: left justify/pad hex value
in thread left justify/pad hex value
$ echo "10.34.2.252 > 10.34.2.250 > 10.34.2.248" | perl -e' use Socket; while ( <> ) { chomp; print "$_ -> ", unpack( "H*", inet_aton $_ ), "\n"; } ' 10.34.2.252 -> 0a2202fc 10.34.2.250 -> 0a2202fa 10.34.2.248 -> 0a2202f8
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: left justify/pad hex value
by shmem (Chancellor) on Mar 03, 2010 at 21:28 UTC | |
|
Re^4: left justify/pad hex value
by TheBigAmbulance (Acolyte) on Mar 03, 2010 at 20:08 UTC | |
by cdarke (Prior) on Mar 03, 2010 at 20:38 UTC |