SOURCE(1CSH) COMMAND REFERENCE SOURCE(1CSH)
NAME
source - execute commands from file (csh built-in)
SYNOPSIS
source [ -h ] filename
DESCRIPTION
The source command reads commands from filename and executes
them (unless -h is given) in the current shell. Source
commands may be nested, but if they are nested too deeply,
the shell will run out of file descriptors. An error in a
source at any level terminates all nested source commands.
Input to source commands is not added to the history list
when executed.
OPTIONS
-h Add the commands to the history list instead of executing
them.
EXAMPLES
The following command line reads commands from the file
`mycmds' and places them in the history list of the current
shell.
source -h mycmds
RETURN VALUE
The return value is the value returned by the last command
executed, or 1 if the file does not exist.
SEE ALSO
@(1csh), alias(1csh), bg(1csh), break(1csh), cd(1csh),
chdir(1csh), continue(1csh), csh(1csh), dirs(1csh),
echo(1csh), eval(1csh), exec(1csh), exit(1csh), fg(1csh),
glob(1csh), goto(1csh), hashstat(1csh), history(1csh),
jobs(1csh), kill(1csh), limit(1csh), logout(1csh),
nice(1csh), nohup(1csh), notify(1csh), onintr(1csh),
popd(1csh), pushd(1csh), rehash(1csh), repeat(1csh),
set(1csh), setenv(1csh), sh(1sh), shift(1csh), stop(1csh),
suspend(1csh), time(1csh), umask(1csh), unhash(1csh),
unalias(1csh), unlimit(1csh), unset(1csh), unsetenv(1csh),
wait(1csh), and which(1csh).
Printed 4/6/89 1
%%index%%
na:360,132;
sy:492,214;
de:706,861;
op:1567,179;
ex:1746,256;
rv:2002,236;
se:2238,1510;
%%index%%000000000122