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
Note: For MH, the name of this flag must be fully spelled out.
|-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.|
The 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.
(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 5L Version 5.1 System User's Guide: Communications and Networks.