George Toft wrote:
> Run hexdump on the script and post the results. The hexdump should look
> *exactly* like this:
> $ hexdump -xc test
> 0000000 2123 622f 6e69 622f 7361 0a68 6f66 2072
> 0000000 # ! / b i n / b a s h \n f o r
Is there an easy way to make traditional CP/M style hex dumps from a file?
For example the above would be:
0000:0000 23 21 2F 62 69 6E 2F 62 : 61 73 68 0A 66 6F 72 20 #!/bin/bash.for
(which will probably get wrapped in this email). Even better would be
something like CP/M's DFX (Disk Fix) or Norton Utilities of old which
would permit hex editing through a "curses" style interface. I miss those
incredibly handy low-level tools!
Does such a thing exist for linux?
\\/