8 date 92.12.02.21.38.37; author jromine; state Exp;
13 date 92.11.11.17.33.50; author jromine; state Exp;
18 date 92.02.12.20.06.28; author jromine; state Exp;
23 date 92.02.03.16.43.08; author jromine; state Exp;
28 date 91.01.25.15.47.30; author mh; state Exp;
33 date 91.01.25.15.41.02; author mh; state Exp;
48 .\" @@(#)$Id: fmtdump.rf,v 1.5 1992/11/11 17:33:50 jromine Exp jromine $
51 fmtdump \- decode MH format files
54 \%[\-form\ formatfile]
58 \fIFmtdump\fR is a program that parses an \fIMH\fP format file
59 and produces a pseudo-language listing of the how \fIMH\fP
62 The `\-format\ string' and `\-form\ formatfile' switches may be used
63 to specify a format string or format file to read.
64 The string is simply a format string and the file is simply a format file.
65 See \fImh-format\fR\|(5) for the details.
67 ^$HOME/\&.mh\(ruprofile~^The user profile
68 ^@@(MHETCPATH)/scan.default~^The default format file
70 ^Path:~^To determine the user's MH directory
72 mh-format(5), mh-sequences(8)
76 The output may not be useful unless you are familiar
77 with the internals of the mh-format subroutines.
84 @add -form/-format switches
89 .\" @@(#)$Id: fmtdump.rf,v 1.4 1992/02/12 20:06:28 jromine Exp jromine $
92 fmtdump \- decode \fIMH\fP format files
103 .\" @@(#)$Id: fmtdump.rf,v 1.3 1992/02/03 16:43:08 jromine Exp jromine $
106 @@(MHETCPATH)/fmtdump formatfile
121 .\" @@(#)$Id: fmtdump.rf,v 1.2 1991/01/25 15:47:30 mh Exp jromine $
133 .\" @@(#)$Id: fmtdump.rf,v 1.6 90/04/05 15:08:58 sources Exp $
136 mh-format(8), mh-sequences(8)
147 .\" @@(#)$Id: dp.rf,v 1.6 90/04/05 15:08:58 sources Exp $
151 dp \- parse dates 822\-style
155 \%[\-form\ formatfile]
162 \fIDp\fR is a program that parses dates according to the ARPA Internet
164 It also understands many non\-standard formats,
165 such as those produced by TOPS\-20 sites and some UNIX sites using
167 It is useful for seeing how \fIMH\fR will interpret a date.
169 The \fIdp\fR program treats each argument as a single date,
170 and prints the date out in the official 822\-format.
171 Hence, it is usually best to enclose each argument in double\-quotes for the
174 To override the output format used by \fIdp\fR,
175 the `\-format\ string' or `\-format\ file' switches are used.
176 This permits individual fields of the address to be extracted with ease.
177 The string is simply a format stringand thefile is simply a format file.
178 See \fImh\-format\fR\0(5) for the details.
180 Here is the default format string used by \fIdp\fR:
184 %<(nodate{text})error: %{text}%|%(putstr(pretty{text}))%>
187 which says that if an error was detected, print the error, a `:',
188 and the date in error.
189 Otherwise, output the 822\-proper format of the date.
191 ^$HOME/\&.mh\(ruprofile~^The user profile
198 \fIStandard for the Format of ARPA Internet Text Messages\fR (aka RFC\-822)
200 `\-format' default as described above
202 `\-width' default to the width of the terminal
205 The argument to the `\-format' switch must be interpreted as a single token
206 by the shell that invokes \fIdp\fR.
208 one must usually place the argument to this switch inside double\-quotes.