| DD(1) | General Commands Manual | DD(1) |
dd - convert and copy a file
dd [ option value ] ...
Dd copies the specified input file to the specified output with possible conversions. The standard input and output are used by default. The input and output block size may be specified to take advantage of raw physical I/O. The options are
-conv ascii Convert EBCDIC to ASCII.
Where sizes are specified, a number of bytes is expected. A number may end
with or to specify multiplication by 1024 or 512 respectively; a pair of
numbers may be separated by to indicate a product. Multiple conversions may
be specified in the style:
is used only if or conversion is specified. In the first two cases, n characters are copied into the conversion buffer, any specified character mapping is done, trailing blanks are trimmed and new-line is added before sending the line to the output. In the latter three cases, characters are read into the conversion buffer and blanks are added to make up an output record of size n. If is unspecified or zero, the and options convert the character set without changing the block structure of the input file; the and options become a simple file copy.
/appl/cmd/dd.b
Dd reports the number of full + partial input and output blocks handled.