dump 3plumb 2012-09-09

NAME

dump - dump binary data in text form

SYNPOSIS

[dump format=dec]

[dump format=hex]

               +------+
0 (stdin) ---->| dump |----> (stdout) 1
               +------+

DESCRIPTION

Dump reads its input stream and converts it into text, according to the format specification:
dec space separated list of 3 digit decimal numbers
hex space separated list of 2 digit hexadecimal numbers

NOTE: dump does not append to or place newlines in the output.

eof handling

Default.

blocking/flow control

Default.

buffering

None.

EXAMPLE

Convert binary output of a process and feed the result in a script:
	{./acquire} | [dump format=hex] | [affix suffix="\n"] | {awk -f foo.awk}

SEE ALSO

dump 3plumb 2012-09-09