Fix spelling and encoding errors in manpages and an error message
[mmh] / man / dp.man8
index 2742806..caf695e 100644 (file)
@@ -10,11 +10,7 @@ dp \- parse dates 822-style
 .B %libdir%/dp
 .RB [ \-form
 .IR formatfile ]
-.RB [ \-format
-.IR string ]
-.RB [ \-width
-.IR columns ]
-.RB [ \-version ]
+.RB [ \-Version ]
 .RB [ \-help ]
 .I dates
 \&...
@@ -26,7 +22,7 @@ It also understands many non\-standard formats,
 such as those produced by TOPS\-20 sites and some UNIX sites using
 .BR ctime (3).
 It is useful for seeing how
-.B nmh
+.B mmh
 will interpret a date.
 .PP
 The
@@ -39,14 +35,14 @@ shell.
 To override the output format used by
 .BR dp ,
 the
-.B \-format
-.I string
-or
-.B \-format
+.B \-form
 .I file
-switches are used.
+switch is used.
 This permits individual fields of the address to be extracted with ease.
-The string is simply a format string and the file is simply a format file.
+The
+.I file
+is either the name of a format file or
+a format string directly, if prepended with an equal sign `='.
 See
 .BR mh\-format (5)
 for the details.
@@ -55,7 +51,9 @@ Here is the default format string used by
 .BR dp :
 .PP
 .RS 5
+.nf
 %<(nodate{text})error: %{text}%|%(putstr(pretty{text}))%>
+.fi
 .RE
 .PP
 which says that if an error was detected, print the error, a `:',
@@ -79,16 +77,8 @@ ap(8),
 
 .SH DEFAULTS
 .nf
-.RB ` \-format "' default as described above"
-.RB ` \-width "' default to the width of the terminal"
+.RB ` \-form "' default as described above"
 .fi
 
 .SH CONTEXT
 None
-
-.SH BUGS
-The argument to the
-.B \-format
-switch must be interpreted as a single token by the shell that invokes
-.BR dp .
-Therefore, one must usually place the argument to this switch inside double\-quotes.