.\" Copyright (c) 1990 The Regents of the University of California.
.\" %sccs.include.redist.man%
.\" @(#)dd.1 6.3 (Berkeley) %G%
.Nd convert and copy a file
utility copies the specified input file to the specified
output with possible conversions.
The following options are available:
Input pathname; standard input is
Output pathname; standard output is
Output block size (default is 512 bytes).
Set both input and output block size,
input blocks (each block is the
Seek n blocks (each block is the size of
obs) from beginning of output file before
Where values are comma-separated symbols
Convert variable length records to fixed
buffer, delete a trailing <newline>, and
Convert fixed length records to variable
Read a number of characters
delete all trailing <blank>s, and append
Map characters in the alpha character
classification from class upper to the
corresponding value in class lower.
Map characters in the alpha character
classification from class lower to the
corresponding value in class upper.
Do not stop processing on an error.
Pad every input block to the size of
buffer, appending <space> characters.
Where sizes are specified, a decimal number of bytes is
to specify multiplication
by 1024 or 512, respectively.
is not specified, the standard input is used.
The input files can be any file type and
writes the number of input and output
blocks, full and partial counts, to the standard error.
A partial block may be caused by a read or write operation
have conversions, as specified by the options, applied to
utility writes status information to
standard error before exiting.
It takes the default action
utility exits 0 on success, and >0 if an error occurs.
If an error is detected, and the noerror option has not
been supplied, the cause is reported and the
aborts the copy of the file.
function is expected to be POSIX 1003.2 compatible.