16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

tcsh built-in command descriptions<br />

@ (at) built-in command for tcsh: Print the value of tcsh shell variables<br />

Format<br />

@<br />

@ name = expr<br />

@ name[index] = expr<br />

@ name+ + |– –<br />

@ name[index]+ + |– –<br />

Description<br />

@ (at) in the tcsh shell prints the value of tcsh shell variables.<br />

Options<br />

@ in the tcsh shell supports the following options:<br />

name = expr<br />

Assigns the value of expr to name.<br />

name[index] = expr<br />

Assigns the value of expr to the index’th component of name. Both name<br />

and its index’th component must already exist.<br />

For both name = expr and name[index] = expr , expr may contain the<br />

operators *, +, etc. as in C. If expr contains , &, or ″ then at least part<br />

of expr must be placed within (). The syntax of expr has nothing to do with<br />

that described under “Expressions” on page 647.<br />

expr must evaluate to a numeric expression. Therefore, use set instead of<br />

@ to assign array variables.<br />

name+ + |– –<br />

Increments (++) or decrements (– –) name.<br />

name[index]+ + |– –<br />

Increments (++) or decrements (– –) name’s index’th component.<br />

Usage notes<br />

1. The space between @ and name is required.<br />

2. The spaces between name and = and between = and expr are optional.<br />

3. Components of expr must be separated by spaces.<br />

Related information<br />

tcsh<br />

% (percent) built-in command for tcsh: Move jobs to the foreground or<br />

background<br />

Format<br />

% [job] [&]<br />

Description<br />

%, is a synonym for the fg built-in command.<br />

v % (percent) without arguments will bring the current job to the foreground.<br />

v % specified with a job number attempts to bring that particular job to the<br />

foreground.<br />

tcsh<br />

Chapter 2. Shell command descriptions 673

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!