Has anyone here got any experience of hexdump output formatting? If I use hexdump -C I get: $hexdump -C -n32 /usr/bin/lsof 00000000 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 |.ELF............| 00000010 02 00 03 00 01 00 00 00 60 97 04 08 34 00 00 00 |........`...4...| 00000020 What I want to do is extend the number of bytes per line to 32, but as there isn't a format for it that means using the horribly complicated -e option. I have got as far as: $ hexdump -n 32 -e '"%04.4_ao: " 16/1 "%02X " " " 16/1 "%02X " " " "xx" "\n"' /usr/bin/lsof 0000: 7F 45 4C 46 01 01 01 00 00 00 00 00 00 00 00 00 02 00 03 00 01 00 00 00 60 97 04 08 34 00 00 00 xx .. but haven't worked out how to insert the ascii values in place of "xx". -- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) @ 13 Clarke Rd, Milton Keynes, MK1 1LG