Go forward to The H Command.
Go backward to The X Command.
Go up to UUCP Protocol Commands.
The E Command
.............
master: `E FROM TO USER -OPTIONS TEMP MODE NOTIFY SIZE COMMAND'
The `E' command is only supported by Taylor UUCP 1.04 and up. It
is used to make an execution request without requiring a separate
`X.*' file. See Execution File Format. It is only used when
the command to be executed requires a single input file which is
passed to it as standard input.
All the fields have the same meaning as they do for an `S' command,
except for OPTIONS and COMMAND.
OPTIONS
A list of options to control the transfer. The following
options are defined (all options are single characters):
`C'
The file has been copied to the spool directory (the
master should use TEMP rather than FROM).
`c'
The file has not been copied to the spool directory
(this is the default).
`N'
No mail message should be sent, even if the command
fails. This is the equivalent of the `N' command in an
`X.*' file.
`Z'
A mail message should be sent if the command fails (this
is generally the default in any case). This is the
equivalent of the `Z' command in an `X.*' file.
`R'
Mail messages about the execution should be sent to the
address in the NOTIFY field. This is the equivalent of
the `R' command in an `X.*' file.
`e'
The execution should be done with `/bin/sh'. This is the
equivalent of the `e' command in an `X.*' file.
COMMAND
The command which should be executed. This is the equivalent
of the `C' command in an `X.*' file.
The slave then responds with an `E' command response. These are
the same as the `S' command responses, but the initial character is
`E' rather than `S'.
If the slave responds with `EY', the file transfer begins. When
the file transfer is complete, the slave sends a `C' command
response, just as for the `S' command. After a successful file
transfer, the slave is responsible for arranging for the command
to be executed. The transferred file is passed as standard input,
as though it were named in the `I' and `F' commands of an `X.*'
file.
After the `C' command response has been received (in the `EY'
case) or immediately (in an `EN' case) the master will send another
command.