Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mhpath(1) — Tru64 UNIX 4.0f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

folder(1)

mhpath(1)  —  Commands

NAME

mhpath − print full pathnames of MH messages and folders (only available within the message handling system, mh)

SYNOPSIS

mhpath [+foldername] [msgs] [−help]

OPTIONS

−help
Prints a list of the valid options to this command.

DESCRIPTION

Use the mhpath command to display the full pathname of the specified folder. If you do not specify a folder, mhpath displays the pathname of the current folder. 

If you specify a message with its message number, mhpath 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, mhpath displays as much of the specified range as possible. 

Additionally mhpath can take a keyword or a sequence name. The following keywords are acceptable:

first
The first message in the folder.

lastThe 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. 

curThe current message in the folder. 

prev
The message before the current message.

next
The message after the current message.

allAll of the messages in the folder. 

PROFILE COMPONENTS

Path: To determine your Mail directory

EXAMPLES

     1.In the following example, mhpath displays message 3 in the folder +inbox:

% mhpath +inbox 3
/r/phyl/Mail/inbox

     2.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

FILES

$HOME/.mh_profile
The user profile.

SEE ALSO

folder(1)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026