mhpath(1mh)mhpath(1mh)Namemhpath - print full pathnames of MH messages and folders
Syntaxmhpath [ +foldername ] [ msgs ] [ -help ]
Description
Use the command to display the full pathname of the specified folder.
If you do not specify a folder, displays the pathname of the current
folder.
If you specify a message with its message number, displays the pathname
of the specified message. You can also specify a number of messages,
or a range of messages. If the top of the range that you specify is
greater than the last message in the folder, displays as much of the
specified range as possible.
Additionally can take a keyword or a sequence name. The following key‐
words are acceptable:
first The first message in the folder.
last The last message in the folder.
new The message after the last message in the folder. You cannot
use new as part of a message range.
cur The current message in the folder.
prev The message before the current message.
next The message after the current message.
all All of the messages in the folder.
Options-help Prints a list of the valid options to this command.
Examples
In the following example, displays message 3 in the folder
% mhpath +inbox 3
/r/phyl/Mail/inbox
The following example displays the pathname of messages 2 to 5 in the
current folder:
% mhpath 2-5
/r/phyl/Mail/inbox/2
/r/phyl/Mail/inbox/3
/r/phyl/Mail/inbox/4
/r/phyl/Mail/inbox/5
Profile Components
Path: To determine your Mail directory
Files
The user profile.
See Alsofolder(1mh)mhpath(1mh)