in reply to Re: A Christmas detour: it's the simplest damn things that bite us sometimes
in thread A Christmas detour: it's the simplest damn things that bite us sometimes

Good answer, but I prefer od for this purpose, as it gives you much greater control over the format of the output. In most cases you want printable characters, not 16-bit hex numbers.

% od -c 0000000 C P A N : : M e t a \r \n E x t +U 0000020 t i l s : : B u i l d e r \r \n +E 0000040 x t U t i l s : : B u i l d e +r 0000060 : : C o m p i l e r \r \n E x t +U 0000100 t i l s : : C o n f i g \r \n E +x 0000120 t U t i l s : : H e l p e r s \ +r 0000140 \n E x t U t i l s : : I n s t +a 0000160 l l P a t h s \r \n G e t o p t +: 0000200 : L o n g \r \n L i s t : : U t +i 0000220 l \r \n T A P : : H a r n e s s \ +r 0000240 \n 0000241
Today's latest and greatest software contains tomorrow's zero day exploits.
  • Comment on Re^2: A Christmas detour: it's the simplest damn things that bite us sometimes
  • Download Code