following Convert decimal to hexadecimal in UNIX shell script
I am trying to print only the hex values
from hexdump
, i.e. don't print the lines numbers and the ASCII table.
But the following command line doesn't print anything:
hexdump -n 50 -Cs 10 file.bin | awk '{for(i=NF-17; i>2; --i) print $i}'