{
    "mode": "man",
    "parameter": "DP",
    "section": "8mh",
    "url": "https://www.chedong.com/phpMan.php/man/DP/8mh/json",
    "generated": "2026-05-30T11:54:36Z",
    "synopsis": "/usr/lib/mh/dp [-help] [-version] [-form formatfile] [-format string] [-width columns] dates\n...",
    "sections": {
        "NAME": {
            "content": "dp - nmh parser of RFC 822-style dates\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "/usr/lib/mh/dp [-help] [-version] [-form formatfile] [-format string] [-width columns] dates\n...\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "dp is a program that parses dates according to the ARPA Internet standard.   It  also  under‐\nstands many non-standard formats, such as those produced by TOPS-20 sites and some Unix sites\nusing ctime(3).  It is useful for seeing how nmh will interpret a date.\n\nThe dp program treats each argument as a single date, and prints the date out in the official\nRFC 822 format.  Hence, it is usually best to enclose each argument in quotes for the shell.\n\nTo  override  the  output  format used by dp, the -format string or -format file switches are\nused.  This permits individual fields of the address to be extracted with ease.   The  string\nis simply a format string and the file is simply a format file.  See mh-format(5) for the de‐\ntails.\n\nHere is the default format string used by dp:\n\n%<(nodate{text})error: %{text}%|%(putstr(pretty{text}))%>\n\nwhich says that if an error was detected, print the error, a `:',  and  the  date  in  error.\nOtherwise, output the RFC 822-proper format of the date.\n",
            "subsections": []
        },
        "FILES": {
            "content": "$HOME/.mhprofile   The user's profile.\n",
            "subsections": []
        },
        "PROFILE COMPONENTS": {
            "content": "None\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "fmttest(1), ap(8),\n\nStandard for the Format of ARPA Internet Text Messages (RFC 822)\n",
            "subsections": []
        },
        "DEFAULTS": {
            "content": "-format             As described above.\n-width              The width of the terminal.\n",
            "subsections": []
        },
        "CONTEXT": {
            "content": "None\n\n\n\nnmh-1.7.1                                    1999-04-30                                      DP(8mh)",
            "subsections": []
        }
    },
    "summary": "dp - nmh parser of RFC 822-style dates",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "fmttest",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/fmttest/1/json"
        },
        {
            "name": "ap",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/ap/8/json"
        }
    ]
}