Shows the next message.
next [ +Folder ] [ -header | -noheader ] [ -showproc CommandString | -noshowproc ]
The next command displays the number the system will assign to the next message filed in a Message Handler (MH) folder. The next command is equivalent to the show command with the next value specified as the message.
The next command links to the show program and passes any switches on to the showproc program. If you link to the next value and call that link something other than next, your link will function like the show command, rather than like the next command.
The show command passes flags it does not recognize to the program performing the listing. The next command provides a number of flags for the listing program.
|+Folder||Specifies the folder that contains the message you want to show.|
|-header||Displays a one-line description of the message being shown. The description includes the folder name and message number. This is the default.|
|-help||Lists the command syntax, available switches (toggles), and version information.|
|-noheader||Prevents display of a one-line description of each message being shown.|
|-noshowproc||Uses the /usr/bin/cat file to perform the listing. This is the default.|
|-showproc CommandString||Uses the specified command string to perform the listing.|
nextThe system responds with a message similar to the following:
(Message schedule: 10)The text of the message is also displayed. In this example, message 10 in the current folder schedule is the next message.
next +projectThe system responds with the text of the message and a header similar to the following:
(Message project: 5)
|$HOME/.mh_profile||Specifies a user's MH profile.|
|/usr/bin/next||Contains the next command.|
The prev command, show command.
The .mh_alias file format, .mh_profile file format.
Mail Overview in AIX Version 4.3 System User's Guide: Communications and Networks.
Peek, Jerry. MH and xmh: E-mail for Users and Programmers. Sebastopol, CA: O'Reilly & Associates, 1992.