*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> dp (8)              
Title
Content
Arch
Section
 

dp(8)

Contents


NAME    [Toc]    [Back]

       dp - parse dates RFC 822-style

SYNOPSIS    [Toc]    [Back]

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

OPTIONS    [Toc]    [Back]

       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  specified
       string.  This must be a format string; see mh-format(4).

              The  argument  to the -format option must be interpreted
 as a single 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.
              Specifies the width of the screen in columns.

       The defaults for this command are as follows:

       -width  defaults to the width of the terminal

DESCRIPTION    [Toc]    [Back]

       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    [Toc]    [Back]

       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    [Toc]    [Back]

       User profile.

SEE ALSO    [Toc]    [Back]

      
      
       Commands: ap(8)

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



                                                            dp(8)
[ Back ]
 Similar pages
Name OS Title
scan IRIX Parse string using conversion specifiers in the style of sscanf
scan IRIX Parse string using conversion specifiers in the style of sscanf
ddate Linux converts Gregorian dates to Discordian dates
settime IRIX change the access and modification dates of files
newer IRIX command for testing modification dates of two files
getopts IRIX parse command options
getopt OpenBSD parse command options
basename Linux Parse pathname components
backslash IRIX parse a backslash sequence
getopt HP-UX parse command options
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service