promptdate man page on 4.4BSD

Man page or keyword search:  
man Server   1065 pages
apropos Keyword Search (all sections)
Output format
4.4BSD logo
[printable version]


       promptdate - accept date entry and print out in specified format

       promptdate [ -f format ] [ datespec ]

       If no format is specified, one suitable for parsing by MH will be used.

       If  no date is given on the command line, 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-

       The syntax of an acceptable date specification is:

	      "today" | "tomorrow" | <dayofweek> | "+"<daysfromtoday> | <date>
	      [<month> [<year>]]


	      <dayofweek> is "sunday",...,"saturday"

	      <daysfromtoday> is an unsigned decimal number

	      <date> is a valid date for that month

	      <month> is "january",...,"december"

	      <year> is > 1970

       Alphabetic  strings may be in any mix of upper or lower case.  They may
       also be abbreviated to the first three letters.

       <dayofweek> is equivalent to specifying from "+1" to "+7".

       Ken Yap (University of Rochester)

       This manual page lies - the format is hardwired for MH.	 General  date
       formatting is not implemented yet.

       Should  accept more date formats. Will be replaced by a user-friendlier
       version soon.

				    3/13/86			 PROMPTDATE(1)

List of man pages available for 4.4BSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net