z/OS UNIX System Services User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Compound assignments

z/OS UNIX System Services User's Guide
SA23-2279-00

The following are the compound assignment operations of awk and their equivalents:

Compound operation Equivalent
A += B A = A + B
A –= B A = A – B
A *= B A = A * B
A /= B A = A / B
A %= B A = A % B
A ^= B A = A ^ B

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014