MPE/iX Shell and Utilities Reference Manual, Vol 1

dd(1) MPE/iX Shell and Utilities dd(1)
ibs and obs are equal, since this avoids buffer copying. The default block size is
1b. bs=size supercedes any settings of ibs=size or obs=size.
If you specify bs=size and you request no other conversions than noerror,
notrunc,orsync, dd writes the data from each input block as a separate output
block; if the input data is less than a full block and you did not request sync conver-
sion, the output block is the same size as the input block.
cbs=size
sets the size of the conversion buffer used by various conv options.
conv=conversion[, conversion, ...]
where conversion can be any of the following:
ascii converts
EBCDIC input to ASCII for output. dd copies cbs bytes at a
time to the conversion buffer, maps them to
ASCII; then strips trail-
ing blanks, adds a newline, and copies this line to the output buffer.
block converts variable-length records to fixed-length records. dd treats
the input data as a sequence of variable-length records (each ter-
minated by a newline or an
EOF character) independent of the block
boundaries. dd converts each input record by first removing any
newline characters, then padding (with spaces) or truncating the
record to the size of the conversion buffer. dd reports the number
of truncated records on the standard error. You must specify
cbs=size with this conversion.
ebcdic converts
ASCII
input to EBCDIC for output. dd copies a line of ASCII
to the conversion buffer, discards the newline, pads it with trailing
blanks to cbs bytes, maps it to
EBCDIC and copies it to the output
buffer.
ibm converts ASCII to a variant of EBCDIC which gives better output on
many IBM printers.
lcase converts uppercase input to lowercase.
noerror ignores errors on input.
notrunc does not truncate the output file. dd preserves blocks in the output
file to which it does not write explicitly write.
swab swaps the order of every pair of input bytes. If the current input
record has an odd number of bytes, this conversion does not
attempt to swap the last byte of the record.
Commands and Utilities 1-169