MPE/iX Shell and Utilities Reference Manual, Vol 1

mailx(1) MPE/iX Shell and Utilities mailx(1)
S[ave][refs]
saves the specified messages in a file the name of which is taken from the author of
the first message (the file name is the author’s name, without any attached network
addressing). If the
folder
variable is set, the file is saved to the specified directory.
s[ave][refs][filename]
saves the specified messages in the given file. If no refs are given, the current mes-
sage is saved. The file is created if it doesn’t already exist. If you do not specify
filename, mailx saves the messages in mbox. A message that has been saved with
save is normally deleted from mailbox when mailx terminates (see quit); but see
the variables
hold
and
keepsave
.
se[t][name]
defines a variable with the given name and assigns it a null value. If you omit name,
set displays a list of all defined variables and their values.
se[t] name=value
defines a variable with the given name and assigns it the given value. The value may
be a string or a number.
se[t] noname
is the same as the unset name command.
sh[ell] invokes the shell given by the
SHELL
environment variable.
si[ze][refs]
displays the size in bytes of each of the specified messages. If no refs are specified,
the current message is used.
so[urce] file
reads the specified text file, executes its contents as command mode commands, then
returns to read more commands from the original source.
to[p][refs]
displays the first few lines of each of the specified messages. If no refs are specified,
the current message is used. If the
toplines
variable has a numeric value, then a
number of lines equal to this value are displayed from each message; otherwise, five
lines are displayed from each message.
tou[ch][refs]
touches the specified messages, making them appear to have been read. This means
that when you quit mailx, the messages are saved in your mbox if they are not
deleted or explicitly saved in another file. If no refs are specified, the current mes-
sage is touched.
1-314 Commands and Utilities