home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
TOP
/
USR
/
MAN
/
xc.man
< prev
next >
Wrap
Text File
|
2009-11-06
|
3KB
|
133 lines
XXXXCCCC((((1111LLLL)))) UUUUNNNNIIIIXXXX 5555....0000 XXXXCCCC((((1111LLLL))))
NNNNAAAAMMMMEEEE
xc, xcb - execute commands contained in a file
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
xxxxcccc or xxxxccccbbbb [ ----cccc kkkkeeeeyyyy____cccchhhhaaaarrrraaaacccctttteeeerrrr ] [ ffffiiiilllleeee ]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_X_c searches a _f_i_l_e for a sequence of lines with the form
%c command_line
or
$c command_line
where 'c' is a single key character given with the -_c
command line option. It then executes each _c_o_m_m_a_n_d__l_i_n_e in
turn.
If the -_c option is omitted, lines with the form
% command_line
or
$ command_line
are executed. The `%' form echos the command line; the `$'
form does not.
When invoked as _x_c_b, the program automatically runs in the
background, redirects the standar output and standard error
output to the file ....////EEEERRRRRRRRSSSS, and makes a short announcement on
its controlling terminal when it finishes.
_X_c saves the last filename and key character which were used
into the file $$$$HHHHOOOOMMMMEEEE////....xxxxcccc, and uses that file's contents as
the defaults if the _f_i_l_e argument is omitted.
If the _f_i_l_e contains program source code, the _x_c command
lines should probably be enclosed within comments; however,
the `%' and `$' must be the first characters on their lines,
and be immediately followed by the key characters.
FFFFIIIILLLLEEEESSSS
$HOME/.xc
ERRS
SSSSEEEEEEEE AAAALLLLSSSSOOOO
cccccccc(1), sssshhhh(1)
Page 1 (printed 1/25/89)
XXXXCCCC((((1111LLLL)))) UUUUNNNNIIIIXXXX 5555....0000 XXXXCCCC((((1111LLLL))))
AAAAUUUUTTTTHHHHOOOORRRR
David MacKenzie (mostly)
Page 2 (printed 1/25/89)