X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=man%2Fmhpath.man;h=e04c4a3f808c9162b56e3ea6176406fa40b8f250;hb=d19e58487c8b73f12712982185e5007c97a2cdb0;hp=26913c800f320a94cc19918b9500c577f310f29f;hpb=278a48ef53b5dde10d7c88f67f51ce15ad11c0c0;p=mmh diff --git a/man/mhpath.man b/man/mhpath.man index 26913c8..e04c4a3 100644 --- a/man/mhpath.man +++ b/man/mhpath.man @@ -1,27 +1,28 @@ .\" .\" %nmhwarning% -.\" $Id$ .\" .TH MHPATH %manext1% "%nmhdate%" MH.6.8 [%nmhversion%] .SH NAME mhpath \- print full pathnames of nmh messages and folders .SH SYNOPSIS .HP 5 +.na .B mhpath .RI [ +folder ] .RI [ msgs ] .RB [ \-version ] .RB [ \-help ] +.ad .SH DESCRIPTION -.B Mhpath +.B mhpath expands and sorts the message list `msgs' and writes the full pathnames of the messages to the standard output separated by newlines. If no `msgs' are specified, .B mhpath -outputs the folder pathname +outputs the current mail folder's pathname instead. If the only argument is `+', your .B nmh -\*(lqPath\*(rq is output; this can be useful is shell scripts. +\*(lqPath\*(rq is output; this can be useful in shell scripts. .PP Contrasted with other .B nmh @@ -43,7 +44,7 @@ Within a message list, the following designations may refer to messages that do not exist: a single numeric message name, the single message name \*(lqcur\*(rq, and (obviously) the single message name \*(lqnew\*(rq. All other message designations must refer to at least one existing -message. +message, if the folder contains messages. .IP 3) 4 An empty folder is not in itself an error. .PP @@ -114,7 +115,7 @@ is also useful in back\-quoted operations: .SH FILES .fc ^ ~ .nf -.ta \w'/usr/local/nmh/etc/ExtraBigFileName 'u +.ta \w'%etcdir%/ExtraBigFileName 'u ^$HOME/\&.mh\(ruprofile~^The user profile .fi