Полезная информация

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: whileChapter 5
The C Shell
Next: 5.6 Built-in C Shell Commands
 

@

@ variable = expression
@ variable[n]  = expression
@

Assign the value of the arithmetic expression to variable, or to the nth element of variable if the index n is specified. With no variable or expression specified, print the values of all shell variables (same as set). Expression operators as well as examples are listed under "Expressions," earlier in this section. Two special forms are also valid:

@ variable++ Increment variable by one.

@ variable- - Decrement variable by one.


Previous: Reference: whileUNIX in a Nutshell: System V EditionNext: 5.6 Built-in C Shell Commands
Reference: whileBook Index5.6 Built-in C Shell Commands

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System