ECHO(1CSH) COMMAND REFERENCE ECHO(1CSH) NAME echo, glob - echo arguments (csh built-in) SYNOPSIS echo [ -n ] [ wordlist ] glob [ wordlist ] DESCRIPTION The command echo is the csh output command. Each argument is printed, followed by a space. Unless the -n option is given, the arguments are followed by a newline. The command glob is similar to echo, except that arguments are separated by null characters, there is no trailing newline, and, thus, there is no -n option. This is normally used by programs wishing to expand a list of words with csh. OPTIONS -n Inhibit the printing of the trailing newline. EXAMPLES This example prints a line that says ``Current directory:'' followed by the name of the current directory. echo "Current directory: $cwd" RETURN VALUE [NO_ERRS] Command completed without error. CAVEATS The -n must appear alone as the first argument. Otherwise, it is ignored. This is useful if the string `-n' is to be printed. Each argument is followed by a space, including the last one. Thus, the command ``echo a b c'' prints ``a<SPACE>b<SPACE>c<SPACE><NEWLINE>''. The csh version of echo does not understand escaped character sequences (like `\n'). The commands echo(1) and echo(1sh) do understand this type of sequence. SEE ALSO @(1csh), alias(1csh), bg(1csh), break(1csh), cd(1csh), chdir(1csh), continue(1csh), csh(1csh), dirs(1csh), echo(1), echo(1sh), 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), source(1csh), stop(1csh), suspend(1csh), time(1csh), umask(1csh), Printed 4/6/89 1
ECHO(1CSH) COMMAND REFERENCE ECHO(1CSH) unhash(1csh), unalias(1csh), unlimit(1csh), unset(1csh), unsetenv(1csh), wait(1csh), and which(1csh). Printed 4/6/89 2
%%index%% na:312,124; sy:436,275; de:711,800; op:1511,153; ex:1664,249; rv:1913,177; ca:2090,668; se:2758,1298;4440,302; %%index%%000000000144