X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=man%2Fdp.man;h=6eeae1229f2f8f0a34f8d77f1a4a098b65874370;hb=8139180649a758e0766757952e87b20e88fdd3ed;hp=ce237b05fdc839bc6b610f93830eb447f717ea88;hpb=b36e2ab7892cdf30a8b33d02e00af70398013b5d;p=mmh diff --git a/man/dp.man b/man/dp.man index ce237b0..6eeae12 100644 --- a/man/dp.man +++ b/man/dp.man @@ -1,12 +1,12 @@ .\" .\" %nmhwarning% -.\" $Id$ .\" .TH DP %manext8% "%nmhdate%" MH.6.8 [%nmhversion%] .SH NAME dp \- parse dates 822-style .SH SYNOPSIS .HP 5 +.na .B %libdir%/dp .RB [ \-form .IR formatfile ] @@ -18,6 +18,7 @@ dp \- parse dates 822-style .RB [ \-help ] .I dates \&... +.ad .SH DESCRIPTION .B Dp is a program that parses dates according to the ARPA Internet standard. @@ -32,7 +33,7 @@ The .B dp program treats each argument as a single date, and prints the date out in the official 822\-format. -Hence, it is usually best to enclose each argument in double\-quotes for the +Hence, it is usually best to enclose each argument in quotes for the shell. .PP To override the output format used by @@ -54,9 +55,7 @@ Here is the default format string used by .BR dp : .PP .RS 5 -.nf %<(nodate{text})error: %{text}%|%(putstr(pretty{text}))%> -.fi .RE .PP which says that if an error was detected, print the error, a `:', @@ -66,8 +65,9 @@ Otherwise, output the 822\-proper format of the date. .SH FILES .fc ^ ~ .nf -.ta \w'/usr/local/nmh/etc/ExtraBigFileName 'u +.ta \w'%etcdir%/ExtraBigFileName 'u ^$HOME/\&.mh\(ruprofile~^The user profile +.fi .SH "PROFILE COMPONENTS" None @@ -77,10 +77,11 @@ ap(8), .I "Standard for the Format of ARPA Internet Text Messages" (RFC\-822) -.SH "DEFAULTS" +.SH DEFAULTS .nf .RB ` \-format "' default as described above" .RB ` \-width "' default to the width of the terminal" +.fi .SH CONTEXT None @@ -90,4 +91,4 @@ The argument to the .B \-format switch must be interpreted as a single token by the shell that invokes .BR dp . -Therefore, one must usually place the argument to this switch inside double\-quotes. +Therefore, one must usually place the argument to this switch inside quotes.