Columbia MM
R> Read Mode
take
TAKE - execute MM commands from a file
Usage: TAKE [inputfile] [outputfile] [errorfile]
The TAKE command tells MM to execute commands from a file (inputfile),
as if they were typed at the terminal. The file therefore must consist
of one or more MM commands, each on a separate line.
If you specify only one filename, the results of the commands are shown on
the screen. If a second filename is given (for an output file), the
commands and results are written to that file and nothing appears on
screen. The special filename /dev/tty will make your screen be the output
file, so you see both the commands and results. The third filename (an
error file) is for any error messages; output to screen and file work the
same way as for the output file.
MM stops using the TAKEn file when one of three conditions occurs: end of
the TAKE file; an error occurs; or the command TAKE with no arguments
is found in the file. The last is the preferred way to end.
You would usually TAKE a file while at TOP-LEVEL. See the example in
"help take" from the MM> prompt. If you TAKE while in READ MODE,
the commands *must* be possible commands in READ MODE-- beware of
commands with message-sequences, for example, which are limited to
TOP-LEVEL.
MM TAKEs files automatically, if they exist, in two cases. A file named
.mmrc will be TAKEn when MM starts up. A file named .rc
will be TAKEn when you GET or EXAMINE , i.e. "oldmail.rc"
when you GET "oldmail".
For more help type "help" and one of these topics
echo other
echo |
other |
MM Home