Hi Damien,

> I think we should fix dd(1).

I like that.

Not allowing uppercase violates the principle of least surprise for "M"
in particular, but accepting uppercase for all four multipliers is probably
most convenient indeed (without documenting it, of course).

By the way, while here, i suggest improving the STANDARDS section
of the manual page.

 - ascii, ebcdic, ibm are not required by POSIX, but XSI extensions
 - sort oldibm and osync alphabetically
 - note that m and w are not required by POSIX, either

Are you OK with that?


Index: dd.1
===================================================================
RCS file: /cvs/src/bin/dd/dd.1,v
retrieving revision 1.22
diff -u -p -r1.22 dd.1
--- dd.1        8 Feb 2009 17:15:09 -0000       1.22
+++ dd.1        11 May 2009 00:53:05 -0000
@@ -358,11 +358,18 @@ specification.
 .Pp
 The
 .Cm files
-operand as well as the
+operand, the
+.Cm ascii ,
+.Cm ebcdic ,
+.Cm ibm ,
 .Cm oldascii ,
 .Cm oldebcdic ,
-.Cm osync ,
+.Cm oldibm ,
 and
-.Cm oldibm
-values
+.Cm osync
+values, as well as the
+.Sq m
+and
+.Sq w
+size multipliers
 are extensions to that specification.

Reply via email to