

The option is meaningless in combinations with -r, -p or -i. This does not change the hexadecimal representation.

Max 256.Ĭhange the character encoding in the righthand column from ASCII to EBCDIC. The command line switches -r, -p, -i do not work with this mode.įormat cols octets per line. Octets as eight digits "1"s and "0"s instead of a normal hexadecimal dump.Įach line is preceded by a line number in hexadecimal and followed by an ascii Switch to bits (binary digits) dump, rather than hexdump. Toggle autoskip: A single '*' replaces nul-lines. Thus -c8, -c 8, -c 010 and -cols 8 are all equivalent. Parameters to options can be specified in decimal, hexadecimal or octal Spaces between a single option letter and its parameter are optional. The first option letter, unless the option is followed by a parameter. Note that a "lazy" parser is used which does not check for more than If no outfile is given (or a '-' character is in its place), results are sent If infile is specifiedĪs a '-' character, then input is taken from standard input. If no infile is given, standard input is read. Moreover, it can be used to perform binary file patching.

Like uuencode and uudecode it allows the transmission of binary data in an 'email-safe' ASCII representation, but has the advantage of decoding to standard output. It can also convert a hex dump back to its original binary form. Xxd creates a hex dump of a given file or standard input.
