@(1CSH) COMMAND REFERENCE @(1CSH) NAME @ - shell variable assignment (csh built-in) SYNOPSIS @ [ variable_operation ] DESCRIPTION With no arguments, @ prints the names and values of all shell variables. With arguments, the assignment is done. The normal form for variable_operation is variable = expr. The variable argument may either be a variable name or a reference to a member of a vector variable (the variable and element referenced must already exist). The expr argument is a numerical expression involving integers. See csh(1csh) for a complete description of expressions. In addition, operators such as *=, +=, and so forth, are available as in C. The spaces around the `=' are optional. An alternate form of variable_operation involves the ++ (increment) and -- (decrement) operators. For example, the command ``@ i++'' increments the value of the variable i. EXAMPLES The following shell script prints the integers from 1 to 100. #!/bin/csh -f set a=1 while ($a <= 100) echo $a @ a++ end RETURN VALUE [NO_ERRS] Command completed without error. [1] An error of the type described in the message occurred. CAVEATS Spaces are required in separating elements of the expressions. SEE ALSO alias(1csh), bc(1), bg(1csh), break(1csh), cd(1csh), chdir(1csh), continue(1csh), csh(1csh), dc(1), dirs(1csh), echo(1csh), eval(1csh), exec(1csh), exit(1csh), expr(1), 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), Printed 4/6/89 1
@(1CSH) COMMAND REFERENCE @(1CSH) repeat(1csh), set(1csh), setenv(1csh), sh(1sh), shift(1csh), source(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 2
%%index%% na:240,126; sy:366,164; de:530,1120; ex:1650,291; rv:1941,274; ca:2215,152; se:2367,997;3676,611; %%index%%000000000131