X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c59d387888272695ccf163a8057275dbdc77afd0..e38cc16e06bbbd80a0fc02585e736fbc3dee7221:/man/mhpath.man?ds=sidebyside diff --git a/man/mhpath.man b/man/mhpath.man index e9879f4c..ac46c012 100644 --- a/man/mhpath.man +++ b/man/mhpath.man @@ -1,4 +1,4 @@ -.TH MHPATH %manext1% "%nmhdate%" MH.6.8 [%nmhversion%] +.TH MHPATH %manext1% "January 20, 2014" "%nmhversion%" .\" .\" %nmhwarning% .\" @@ -105,7 +105,7 @@ mhpath: no messages in range 1\-2 .RE .PP .B mhpath -is also useful in back\-quoted operations: +is also useful in backquoted operations: .PP .RS 5 .nf @@ -115,10 +115,38 @@ is also useful in back\-quoted operations: /r/phyl/Mail .fi .RE +.PP +Because +.B mhpath +expands and sorts +.RI [ msgs ]. +the command +.PP +.RS 5 +.nf +mv `mhpath 501 500` +.fi +.RE +.PP +to will not move 501 to 500. +Quite the reverse. But +.PP +.RS 5 +.nf +mv `mhpath 501` `mhpath 500` +.fi +.RE +.PP +will do the trick. +.PP +Out-of-range message 0 produces a different error message than large +out-of-range message numbers. But both cause +.B mhpath +to exit with non-zero status. .SH FILES .fc ^ ~ .nf -.ta \w'%etcdir%/ExtraBigFileName 'u +.ta \w'ExtraBigProfileName 'u ^$HOME/\&.mh\(ruprofile~^The user profile .fi .SH "PROFILE COMPONENTS" @@ -138,32 +166,3 @@ is also useful in back\-quoted operations: .fi .SH CONTEXT None -.SH BUGS -Like all -.B nmh -commands, -.B mhpath -expands and sorts -.RI [ msgs ]. -So don't -expect -.PP -.RS 5 -.nf -mv `mhpath 501 500` -.fi -.RE -.PP -to move 501 to 500. -Quite the reverse. But -.PP -.RS 5 -.nf -mv `mhpath 501` `mhpath 500` -.fi -.RE -.PP -will do the trick. -.PP -Out of range message 0 is treated far more severely than large out of -range message numbers.