16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

unread<br />

is the system mailbox and the variable keepsave was set, messages in the<br />

state saved are saved to the mbox. If the current mailbox is the system<br />

mailbox and you used a quit or file command to exit the current mailbox,<br />

messages in the state saved are deleted from the current mailbox.<br />

You have run more than one mailx session with the message in the system<br />

mailbox and you have not read it or otherwise changed its state. When<br />

mailx quits, messages in this state are kept in your system mailbox.<br />

<strong>Command</strong>-Mode Subcommands<br />

The standard format of a command-mode subcommand is:<br />

[subcommand][refs][arguments]<br />

If no subcommand is specified, the default subcommand depends on the setting<br />

of the _<strong>UNIX</strong>03 variable:<br />

If the variable _<strong>UNIX</strong>03=YES is set, then n[ext] is assumed.<br />

If the variable _<strong>UNIX</strong>03 is unset or is not set to YES, then p[rint] is assumed.<br />

The refs argument indicates the messages to which you want to apply the<br />

subcommand. mailx numbers incoming messages sequentially as they are<br />

received. The easiest way to refer to a message is to give its number. For example,<br />

the subcommand:<br />

p 3<br />

displays message number 3. At any point in a mailx session, there is one message<br />

that is considered the current message. This is the message you most recently did<br />

something with (for example, the one you most recently read). If you omit the refs<br />

argument in a subcommand that uses refs, the subcommand works with the current<br />

message.<br />

You can also use special notations as the refs value:<br />

refs Meaning<br />

n Message number n<br />

n-m Messages n through m<br />

. The current message<br />

^ The first undeleted message (or first deleted message for undelete)<br />

$ The last message<br />

+ Next message<br />

− Previous message<br />

* All messages<br />

user All messages from the given user<br />

/string<br />

All messages with string in the subject line (the case of characters in<br />

string is ignored)<br />

:d All deleted messages<br />

:n All new messages<br />

:o All old messages<br />

:r All messages that have already been read<br />

:u All unread messages<br />

mailx<br />

Several refs arguments may be specified for the same subcommand, separated by<br />

spaces. For example:<br />

p alice lewis<br />

Chapter 2. Shell command descriptions 375

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!