[ Next Article |
Previous Article |
Book Contents |
Library Home |
Legal |
Search ]
Commands Reference, Volume 2
dp Command
Purpose
Parses and reformats dates.
dp [ -form File | -format String ] [ -width
Number ] Date
Description
The dp command parses and reformats dates. The dp command is not
started by the user. The dp command is called by other programs, typically by its full path name,
/usr/lib/mh/dp.
The dp command parses each mail header string specified as a date and
attempts to reformat the string. The default output format for the dp command is the ARPA RFC 822 standard.
For each string it is unable to parse, the dp command displays an error message.
Parameter
| Date |
Specifies the date to be parsed. |
Flags
| -form File |
Reformats the date specified in the Date parameter to the alternate format described by the
File variable. |
| -format String |
Reformats the date specified in the Date parameter to the alternate format specified by the
String variable. The default format string follows:
%<(nodate{text})error:%{text}%|%(putstr(pretty{text}))%> |
| -help |
Lists the command syntax, available switches (toggles), and version information.
Note: For Message Handler (MH), the name of this flag must be fully
spelled out.
|
| -width Number |
Sets the maximum number of columns the dp command uses to display dates and error messages. The
default is the width of the display. |
Files
Related Information
The ap command.
Mail Overview in
AIX Version 4.3 System User's Guide: Communications and Networks.
Peek, Jerry. MH and xmh: E-mail for Users and Programmers. Sebastopol, CA:
O'Reilly & Associates, 1992.
[ Next Article |
Previous Article |
Book Contents |
Library Home |
Legal |
Search ]