X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/278a48ef53b5dde10d7c88f67f51ce15ad11c0c0..6e00dba11ff815307cd60cee7a7f69d115591c7e:/man/mhpath.man diff --git a/man/mhpath.man b/man/mhpath.man index 26913c80..e04c4a3f 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