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 p

⟦3c0329260⟧ TextFile

    Length: 1247 (0x4df)
    Types: TextFile
    Names: »promptdate.1«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦3658e588a⟧ »EurOpenD3/mail/mh/mh-6.7.tar.Z« 
        └─⟦c75e36ecb⟧ 
            └─⟦this⟧ »mh-6.7/miscellany/mem/promptdate.1« 

TextFile

.TH PROMPTDATE 1 3/13/86
.SH NAME
promptdate \- accept date entry and print out in specified format
.SH SYNOPSIS
.B promptdate
[
.B -f format
] [
.B datespec
]
.SH DESCRIPTION
If no format is specified, one suitable for parsing by MH
will be used.
.PP
If no date is given on the command line,
.I promptdate
will interactively prompt for one.
It will persist in asking for a date until
a legal date is supplied.
To exit, type the EOF character (normally control-d).
.PP
The syntax of an acceptable date specification is:
.IP
"today" | "tomorrow" | <dayofweek> | "+"<daysfromtoday>
| <date> [<month> [<year>]]
.PP
where:
.IP
<dayofweek> is "sunday",...,"saturday"
.IP
<daysfromtoday> is an unsigned decimal number
.IP
<date> is a valid date for that month
.IP
<month> is "january",...,"december"
.IP
<year> is > 1970
.PP
Alphabetic strings may be in
any mix of upper or lower case.
They may also be abbreviated to
the first three letters.
.PP
<dayofweek> is equivalent
to specifying from "+1" to "+7".
.SH AUTHOR
Ken Yap (University of Rochester)
.SH BUGS
This manual page lies - the format is hardwired for MH.
General date formatting is not implemented yet.
.PP
Should accept more date formats. Will be replaced by a
user-friendlier version soon.