BSD 4_1_snap development
[unix-history] / usr / man / man1 / dd.1
index b16addf..07a64e4 100644 (file)
@@ -1,4 +1,5 @@
 .TH DD 1 
 .TH DD 1 
+.UC 4
 .SH NAME
 dd \- convert and copy a file
 .SH SYNOPSIS
 .SH NAME
 dd \- convert and copy a file
 .SH SYNOPSIS
@@ -100,6 +101,14 @@ convert ASCII to EBCDIC
 slightly different map of ASCII to EBCDIC
 .br
 .ns
 slightly different map of ASCII to EBCDIC
 .br
 .ns
+.IP \*hblock
+convert variable length records to fixed length
+.br
+.ns
+.IP \*hunblock
+convert fixed length records to variable length
+.br
+.ns
 .IP \*hlcase
 map alphabetics to lower case
 .br
 .IP \*hlcase
 map alphabetics to lower case
 .br
@@ -139,17 +148,21 @@ to indicate a product.
 .PP
 .I Cbs
 is used only if
 .PP
 .I Cbs
 is used only if
-.I ascii
+.I ascii,
+.I unblock,
+.I ebcdic,
+.I ibm,
 or
 or
-.I ebcdic
+.I block
 conversion is specified.
 conversion is specified.
-In the former case
+In the first two cases,
 .I cbs
 .I cbs
-characters are placed into the conversion buffer, converted to
-ASCII, and trailing blanks trimmed and new-line added
+characters are placed into the conversion buffer, any specified
+character mapping is done,
+trailing blanks trimmed and new-line added
 before sending the line to the output.
 before sending the line to the output.
-In the latter case ASCII characters are read into the
-conversion buffer, converted to EBCDIC, and blanks added
+In the latter three cases, characters are read into the
+conversion buffer, and blanks added
 to make up an
 output record of size
 .IR cbs .
 to make up an
 output record of size
 .IR cbs .
@@ -184,7 +197,3 @@ the CACM Nov, 1968.
 The `ibm' conversion, while less blessed as a standard,
 corresponds better to certain IBM print train conventions.
 There is no universal solution.
 The `ibm' conversion, while less blessed as a standard,
 corresponds better to certain IBM print train conventions.
 There is no universal solution.
-.PP
-Newlines are inserted only on conversion to ASCII;
-padding is done only on conversion to EBCDIC.
-These should be separate options.