dp man page on DigitalUNIX

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

dp(8)									 dp(8)

NAME
       dp - parse dates RFC 822-style

SYNOPSIS
       /usr/lib/mh/dp  [-form  file] [-format string] [-help] [-width columns]
       dates

OPTIONS
       Overrides the default output format of dp.   The	 output	 is  formatted
       according  to  the  instructions in the specified file.	This must be a
       format file; see mh-format(4).  Overrides the default output format  of
       dp.  The output is formatted according to the instructions in the spec‐
       ified string.  This must be a format string; see mh-format(4).

	      The argument to the -format option must be interpreted as a sin‐
	      gle  token  by  the shell that invokes dp. Therefore, you should
	      usually place the argument to this option inside	double	quotes
	      (").  Prints a list of the valid options to this command.	 Spec‐
	      ifies the width of the screen in columns.

       The defaults for this command are as follows:

       -width  defaults to the width of the terminal

DESCRIPTION
       The dp command 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 ctime(3). It is  useful  for
       seeing how MH will interpret a date.

       The  dp	program	 treats each argument as a single date, and prints the
       date out in the official RFC 822 format. Hence, it is usually  best  to
       enclose each argument in double quotes (") for the shell.

EXAMPLES
       This is the default format string used by dp:

       %<(nodate{text})error: %{text}%|%(pretty{text})%>

       When  an	 error is detected, this prints error: and the date that is in
       error. Otherwise, it outputs the proper RFC 822 format of the date.

FILES
       User profile.

SEE ALSO
       Commands: ap(8)

       Standard for the Format of ARPA Internet Text Messages (RFC 822)

									 dp(8)
[top]

List of man pages available for DigitalUNIX

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]
Tweet
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