21.07.2015 Views

GAWK: Effective AWK Programming

GAWK: Effective AWK Programming

GAWK: Effective AWK Programming

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

344 <strong>G<strong>AWK</strong></strong>: <strong>Effective</strong> <strong>AWK</strong> <strong>Programming</strong>gawk, octal numbers and . . . . . . . . . . . . . . . . . . . . . . . 76gawk, OS/2 version of . . . . . . . . . . . . . . . . . . . . . . . . 273gawk, regexp constants and . . . . . . . . . . . . . . . . . . . . 77gawk, regular expressions, case sensitivity . . . . . . 32gawk, regular expressions, operators . . . . . . . . . . . . 31gawk, regular expressions, precedence . . . . . . . . . . 29gawk, See Also awk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3gawk, source code, obtaining . . . . . . . . . . . . . . . . . . 265gawk, splitting fields and . . . . . . . . . . . . . . . . . . . . . . . 49gawk, string-translation functions . . . . . . . . . . . . . 152gawk, timestamps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146gawk, uses for . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3gawk, versions of, information about, printing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181gawk, word-boundary operator . . . . . . . . . . . . . . . . . 31General Public License (GPL) . . . . . . . . . . . . . . . . 310General Public License, See GPL . . . . . . . . . . . . . . . 7gensub function (gawk) . . . . . . . . . . . . . . . . . . . 77, 138gensub function (gawk), escape processing. . . . . 140get_actual_argument internal function . . . . . . . 289get_argument internal function . . . . . . . . . . . . . . . 289get_array_argument internal macro . . . . . . . . . . 290get_curfunc_arg_count internal function. . . . . 288get_record input method . . . . . . . . . . . . . . . . . . . . 290get_scalar_argument internal macro . . . . . . . . . 290getgrent function (C library) . . . . . . . . . . . . 210, 213getgrent user-defined function. . . . . . . . . . . 210, 214getgrgid function (C library) . . . . . . . . . . . . . . . . 213getgrgid user-defined function . . . . . . . . . . . . . . . 213getgrnam function (C library) . . . . . . . . . . . . . . . . 213getgrnam user-defined function . . . . . . . . . . . . . . . 213getgruser function (C library) . . . . . . . . . . . . . . . 213getgruser function, user-defined. . . . . . . . . . . . . . 213getline command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36getline command, _gr_init user-defined function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211getline command, _pw_init function . . . . . . . . 208getline command, coprocesses, using from . . . . 56,71getline command, deadlock and . . . . . . . . . . . . . 171getline command, explicit input with . . . . . . . . . 52getline command, FILENAME variable and . . . . . 56getline command, return values. . . . . . . . . . . . . . . 52getline command, variants. . . . . . . . . . . . . . . . . . . . 57getopt function (C library) . . . . . . . . . . . . . . . . . . . 201getopt user-defined function . . . . . . . . . . . . . . . . . . 203getpwent function (C library) . . . . . . . . . . . . 206, 209getpwent user-defined function. . . . . . . . . . . 206, 209getpwnam function (C library) . . . . . . . . . . . . . . . . 209getpwnam user-defined function . . . . . . . . . . . . . . . 209getpwuid function (C library) . . . . . . . . . . . . . . . . 209getpwuid user-defined function . . . . . . . . . . . . . . . 209getservbyname function (C library) . . . . . . . . . . . 172gettext function (C library). . . . . . . . . . . . . . . . . . 161gettext library. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160gettext library, locale categories . . . . . . . . . . . . . 161gettimeofday user-defined function . . . . . . . . . . . 195GNITS mailing list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9GNU awk, See gawk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3GNU Free Documentation License . . . . . . . . . . . . 327GNU General Public License . . . . . . . . . . . . . . . . . 310GNU Lesser General Public License. . . . . . . . . . . 311GNU long options . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177GNU long options, printing list of. . . . . . . . . . . . . 179GNU Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7, 310GNU/Linux . . . . . . . . . . . . . . . . . . . . . . 7, 167, 278, 314GPL (General Public License). . . . . . . . . . . . . . 7, 310GPL (General Public License), printing . . . . . . . 179grcat program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210Grigera, Juan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264group database, reading . . . . . . . . . . . . . . . . . . . . . . 210group file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210groups, information about . . . . . . . . . . . . . . . . . . . . 210gsub function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77, 138gsub function, arguments of . . . . . . . . . . . . . . . . . . 138gsub function, escape processing . . . . . . . . . . . . . . 140HHankerson, Darrel . . . . . . . . . . . . . . . . . . . . . . . . . 9, 264Hartholz, Elaine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Hartholz, Marshall. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Hasegawa, Isamu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264hexadecimal numbers . . . . . . . . . . . . . . . . . . . . . . . . . . 75hexadecimal values, enabling interpretation of. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180histsort.awk program . . . . . . . . . . . . . . . . . . . . . . . 244Hughes, Phil. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9HUP signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176hyphen (-), - operator . . . . . . . . . . . . . . . . . . . . . . . . . 95hyphen (-), -- (decrement/increment) operators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94hyphen (-), -- operator. . . . . . . . . . . . . . . . . . . . . . . . 86hyphen (-), -= operator . . . . . . . . . . . . . . . . . . . . 85, 95hyphen (-), filenames beginning with . . . . . . . . . 178hyphen (-), in character lists. . . . . . . . . . . . . . . . . . . 29Iid utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224id.awk program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224if statement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24, 102if statement, actions, changing . . . . . . . . . . . . . . . . 98igawk.sh program . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251IGNORECASE variable . . . . . . . . . . . . . . . . . . . . . . 32, 111IGNORECASE variable, array sorting and. . . . . . . . 129IGNORECASE variable, array subscripts and. . . . . 120IGNORECASE variable, in example programs . . . . 186implementation issues, gawk . . . . . . . . . . . . . . . . . . 284implementation issues, gawk, limits. . . . . . . . . . . . . 56implementation issues, gawk, debugging . . . . . . . 284implementation issues, gawk, limits. . . . . . . . . . . . . 68in operator . . . . . . . . . . . . . . . . . . . . . . . . . . . 89, 95, 225in operator, arrays and . . . . . . . . . . . . . . . . . . 121, 122increment operators . . . . . . . . . . . . . . . . . . . . . . . . . . . 86index function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133

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

Saved successfully!

Ooh no, something went wrong!