DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T d

⟦b4a3366c4⟧ TextFile

    Length: 1724 (0x6bc)
    Types: TextFile
    Names: »dp.rf«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦3658e588a⟧ »EurOpenD3/mail/mh/mh-6.7.tar.Z« 
        └─⟦c75e36ecb⟧ 
            └─⟦this⟧ »mh-6.7/conf/doc/dp.rf« 

TextFile

.\"	@(MHWARNING)
.\" @(#)$Id: dp.rf,v 1.6 90/04/05 15:08:58 sources Exp $
.SC DP 8
.NA
dp \- parse dates 822\-style
.SY
@(MHETCPATH)/dp
\%[\-form\ formatfile]
\%[\-format\ string]
\%[\-width\ columns]
dates\ ...
\%[\-help]
.DE
\fIDp\fR is a program that parses dates according to the ARPA Internet
standard.
It also understands many non\-standard formats,
such as those produced by TOPS\-20 sites and some UNIX sites using
\fIctime\fR\0(3).
It is useful for seeing how \fIMH\fR will interpret a date.

The \fIdp\fR program treats each argument as a single date,
and prints the date out in the official 822\-format.
Hence, it is usually best to enclose each argument in double\-quotes for the
shell.

To override the output format used by \fIdp\fR,
the `\-format\ string' or `\-format\ file' switches are used.
This permits individual fields of the address to be extracted with ease.
The string is simply a format stringand thefile is simply a format file.
See \fImh\-format\fR\0(5) for the details.

Here is the default format string used by \fIdp\fR:

.nf
.ti +.5i
%<(nodate{text})error: %{text}%|%(putstr(pretty{text}))%>
.fi

which says that if an error was detected, print the error, a `:',
and the date in error.
Otherwise, output the 822\-proper format of the date.
.Fi
^$HOME/\&.mh\(ruprofile~^The user profile
.Pr
None
.Sa
ap(8)
.br
\fIStandard for the Format of ARPA Internet Text Messages\fR (aka RFC\-822)
.De
`\-format' default as described above
.Ds
`\-width' default to the width of the terminal
.Co
None
.Bu
The argument to the `\-format' switch must be interpreted as a single token
by the shell that invokes \fIdp\fR.
Therefore,
one must usually place the argument to this switch inside double\-quotes.
.En