Control flow statements
awk provides if, if-else,
while, do-while, for, and ?
statements, and statement grouping with braces. The syntax of these
constructs is similar to that of the C programming
language, but their usage is similar to the shell constructs covered
``Automating frequent tasks''.
In particular, if, if-else and ? are
branching constructs and while, do-while, and
for are looping constructs. There is no equivalent of the
shell case and select statements.
awk string functions
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003