
782
|
Chapter 11: The gawk Programming Language
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
break
break
Exit from a while, for, or do loop.
close
close(expr)
close(expr, how) {G}
In most implementations of awk, you can only have up to ten files
and one pipe open simultaneously. Therefore, POSIX awk provides
a close( ) function that allows you to close a file or a pipe. It takes
the same expression that opened the pipe or file as an argument.
This expression must be identical, character by character, to the
one that opened the file or pipe—even whitespace is significant.
In the second form, close one end of either a TCP/IP socket or a
two-way pipe to a coprocess. how is a string, either "from" or "to".
Case does not matter.
compl
compl(expr) {G}
Return the bitwise complement of expr, which should be a value
that fits in a C unsigned long.
continue
continue
Begin next iteration of while, for, or do loop.
cos
cos(x)
Return the cosine of x, an angle in radians.
dcgettext
dcgettext(str [, dom [,cat]]) {G}
Return the translation of str for the text domain dom in message
category cat. Default text domain is value of TEXTDOMAIN.
Default category is "LC_MESSAGES".
dcngettext
dcngettext(str1, str2, num [, dom [,cat]]) {G}
If num is one, return the translation of str1 for the text domain dom
in message category cat. Otherwise, return the translation of str2 ...