Go to the first, previous, next, last section, table of contents.


Index

Jump to: ! - # - $ - & - - - / - < - = - > - \ - _ - a - b - c - d - e - f - g - h - i - j - k - l - m - n - o - p - q - r - s - t - u - v - w - | - ~

!

  • ! operator
  • != operator
  • !~ operator, !~ operator, !~ operator, !~ operator, !~ operator
  • #

  • # (comment)
  • #! (executable scripts)
  • $

  • $ (field operator)
  • &

  • && operator
  • -

  • --assign option
  • --compat option
  • --copyleft option
  • --copyright option
  • --field-separator option
  • --file option
  • --help option
  • --lint option
  • --lint-old option
  • --posix option
  • --source option
  • --traditional option
  • --usage option
  • --version option
  • -F option, -F option
  • -f option, -f option
  • -v option
  • -W option
  • /

  • `/dev/fd'
  • `/dev/pgrpid'
  • `/dev/pid'
  • `/dev/ppid'
  • `/dev/stderr'
  • `/dev/stdin'
  • `/dev/stdout'
  • `/dev/user', `/dev/user'
  • <

  • < operator
  • <= operator
  • =

  • == operator
  • >

  • > operator
  • >= operator
  • \

  • \' regexp operator
  • \< regexp operator
  • \> regexp operator
  • \` regexp operator
  • \B regexp operator
  • \W regexp operator
  • \w regexp operator
  • \y regexp operator
  • _

  • _gr_init
  • _pw_init
  • _tm_addup
  • _tm_isleap
  • a

  • accessing fields
  • account information, account information
  • acronym
  • action, curly braces
  • action, default
  • action, definition of
  • action, empty
  • action, separating statements
  • adding new features
  • addition
  • Aho, Alfred
  • AI programming, using gawk
  • alarm.awk
  • amiga
  • anchors in regexps
  • and operator
  • anonymous ftp, anonymous ftp
  • applications of awk
  • ARGC
  • ARGIND, ARGIND
  • argument processing
  • arguments in function call
  • arguments, command line
  • ARGV, ARGV
  • arithmetic operators
  • array assignment
  • array reference
  • Array subscripts and IGNORECASE
  • array subscripts, uninitialized variables
  • arrays
  • arrays, associative
  • arrays, definition of
  • arrays, deleting an element
  • arrays, deleting entire contents
  • arrays, multi-dimensional subscripts
  • arrays, presence of elements
  • arrays, sparse
  • arrays, special for statement
  • arrays, the in operator
  • artificial intelligence, using gawk
  • ASCII
  • assert
  • assert, C version
  • assertions
  • assignment operators
  • assignment to fields
  • associative arrays
  • atan2
  • atari
  • automatic initialization
  • awk language, POSIX version, awk language, POSIX version, awk language, POSIX version, awk language, POSIX version, awk language, POSIX version, awk language, POSIX version, awk language, POSIX version, awk language, POSIX version, awk language, POSIX version, awk language, POSIX version, awk language, POSIX version, awk language, POSIX version, awk language, POSIX version, awk language, POSIX version, awk language, POSIX version, awk language, POSIX version, awk language, POSIX version, awk language, POSIX version, awk language, POSIX version
  • awk language, V.4 version, awk language, V.4 version, awk language, V.4 version, awk language, V.4 version
  • AWKPATH environment variable
  • awksed
  • b

  • backslash continuation, backslash continuation
  • backslash continuation and comments
  • backslash continuation in csh, backslash continuation in csh
  • basic function of awk
  • `BBS-list' file
  • BEGIN special pattern
  • beginfile
  • body of a loop
  • book, using this
  • boolean expressions
  • boolean operators
  • break statement
  • break, outside of loops
  • Brennan, Michael, Brennan, Michael, Brennan, Michael, Brennan, Michael
  • buffer matching operators
  • buffering output, buffering output
  • buffering, interactive vs. non-interactive
  • buffering, non-interactive vs. interactive
  • buffers, flushing, buffers, flushing
  • bugs, known in gawk
  • built-in functions
  • built-in variables
  • built-in variables, convey information
  • built-in variables, user modifiable
  • c

  • call by reference, call by reference
  • call by value, call by value
  • calling a function, calling a function
  • case conversion
  • case sensitivity
  • changing contents of a field
  • changing the record separator
  • character classes
  • character encodings
  • character list
  • character list, complemented
  • character sets
  • chr
  • close, close
  • closing input files and pipes
  • closing output files and pipes
  • coding style used in gawk
  • collating elements
  • collating symbols
  • command line
  • command line formats
  • command line, setting FS on
  • comments
  • comments and backslash continuation
  • common mistakes, common mistakes, common mistakes, common mistakes
  • comp.lang.awk
  • comparison expressions
  • comparisons, string vs. regexp
  • compatibility mode, compatibility mode
  • complemented character list
  • compound statement
  • computed regular expressions
  • concatenation
  • conditional expression
  • configuring gawk
  • constants, types of
  • continuation of lines
  • continue statement
  • continue, outside of loops
  • control statement
  • conversion of case
  • conversion of strings and numbers
  • conversions, during subscripting
  • converting dates to timestamps
  • CONVFMT, CONVFMT, CONVFMT
  • cos
  • csh, backslash continuation, csh, backslash continuation
  • curly braces
  • custom.h configuration file
  • cut utility
  • cut.awk
  • d

  • d.c., see "dark corner"
  • dark corner, dark corner, dark corner, dark corner, dark corner, dark corner, dark corner, dark corner, dark corner, dark corner, dark corner, dark corner, dark corner, dark corner, dark corner, dark corner, dark corner, dark corner, dark corner, dark corner, dark corner, dark corner, dark corner, dark corner, dark corner, dark corner
  • data-driven languages
  • dates, converting to timestamps
  • decrement operators
  • default action
  • default pattern
  • defining functions
  • Deifik, Scott, Deifik, Scott
  • delete statement
  • deleting elements of arrays
  • deleting entire arrays
  • deprecated features
  • deprecated options
  • differences between gawk and awk, differences between gawk and awk, differences between gawk and awk, differences between gawk and awk, differences between gawk and awk, differences between gawk and awk, differences between gawk and awk, differences between gawk and awk, differences between gawk and awk, differences between gawk and awk, differences between gawk and awk, differences between gawk and awk, differences between gawk and awk, differences between gawk and awk, differences between gawk and awk, differences between gawk and awk, differences between gawk and awk, differences between gawk and awk, differences between gawk and awk, differences between gawk and awk, differences between gawk and awk, differences between gawk and awk
  • directory search
  • division
  • documenting awk programs, documenting awk programs
  • dupword.awk
  • dynamic regular expressions
  • e

  • EBCDIC
  • egrep, egrep
  • egrep utility
  • egrep.awk
  • element assignment
  • element of array
  • empty action
  • empty pattern
  • empty program
  • empty string, empty string, empty string, empty string
  • END special pattern
  • endfile
  • endgrent
  • endpwent
  • ENVIRON
  • environment variable, AWKPATH
  • environment variable, POSIXLY_CORRECT
  • equivalence classes
  • ERRNO, ERRNO, ERRNO
  • errors, common, errors, common, errors, common, errors, common
  • escape processing, sub et. al.
  • escape sequence notation
  • evaluation, order of
  • examining fields
  • executable scripts
  • exit statement
  • exp
  • explicit input
  • exponentiation
  • expression
  • expression, assignment
  • expression, boolean
  • expression, comparison
  • expression, conditional
  • expression, matching
  • extract.awk
  • f

  • features, adding
  • fflush
  • field operator $
  • field separator, choice of
  • field separator, FS
  • field separator, on command line
  • field, changing contents of
  • fields
  • fields, separating
  • FIELDWIDTHS
  • file descriptors
  • file, awk program
  • FILENAME, FILENAME, FILENAME
  • FILENAME, being set by getline
  • Fish, Fred
  • flushing buffers, flushing buffers
  • FNR, FNR
  • for (x in ...)
  • for statement
  • format specifier
  • format string
  • format, numeric output
  • formatted output
  • formatted timestamps
  • Free Software Foundation, Free Software Foundation, Free Software Foundation
  • FreeBSD
  • Friedl, Jeffrey
  • FS, FS
  • ftp, anonymous, ftp, anonymous
  • function call, function call
  • function definition
  • function, recursive
  • functions, undefined
  • functions, user-defined
  • g

  • gawk coding style
  • gensub
  • getgrent
  • getgrent, C version
  • getgrgid
  • getgrnam
  • getgruser
  • getline
  • getline, return values
  • getline, setting FILENAME
  • getopt
  • getopt, C version
  • getpwent
  • getpwent, C version
  • getpwnam
  • getpwuid
  • gettimeofday
  • getting gawk
  • GNU Project
  • grcat program
  • grcat.c
  • group file
  • group information
  • gsub
  • gsub, third argument of
  • h

  • Hankerson, Darrel, Hankerson, Darrel
  • historical features, historical features, historical features, historical features, historical features
  • history of awk
  • histsort.awk
  • how awk works
  • Hughes, Phil
  • i

  • I/O from BEGIN and END
  • id utility
  • id.awk
  • if-else statement
  • igawk.sh
  • IGNORECASE, IGNORECASE, IGNORECASE
  • IGNORECASE and array subscripts
  • ignoring case
  • implementation limits, implementation limits
  • in operator
  • increment operators
  • index
  • initialization, automatic
  • input
  • input file, sample
  • input files, skipping
  • input pipeline
  • input redirection
  • input, explicit
  • input, getline command
  • input, multiple line records
  • input, standard
  • installation, amiga
  • installation, atari
  • installation, MS-DOS and OS/2
  • installation, unix
  • installation, vms
  • int
  • interaction, awk and other programs
  • interactive buffering vs. non-interactive
  • interval expressions
  • `inventory-shipped' file
  • invocation of gawk
  • ISO 8601
  • ISO 8859-1, ISO 8859-1
  • ISO Latin-1, ISO Latin-1
  • j

  • Jaegermann, Michal, Jaegermann, Michal
  • join
  • k

  • Kernighan, Brian, Kernighan, Brian, Kernighan, Brian, Kernighan, Brian, Kernighan, Brian
  • known bugs
  • l

  • labels.awk
  • language, awk
  • language, data-driven
  • language, procedural
  • leftmost longest match, leftmost longest match
  • length
  • limitations, limitations
  • line break
  • line continuation, line continuation, line continuation, line continuation
  • Linux, Linux
  • locale, definition of
  • log
  • logical false
  • logical operations
  • logical true
  • login information
  • long options
  • loop
  • loops, exiting
  • lvalue
  • m

  • mark parity
  • match
  • matching ranges of lines
  • matching, leftmost longest, matching, leftmost longest
  • mawk
  • merging strings
  • metacharacters
  • mistakes, common, mistakes, common, mistakes, common, mistakes, common
  • mktime
  • modifiers (in format specifiers)
  • multi-dimensional subscripts
  • multiple line records
  • multiple passes over data
  • multiple statements on one line
  • multiplication
  • n

  • names, use of
  • namespace issues in awk
  • namespaces
  • NetBSD
  • new awk
  • new awk vs. old awk
  • newline
  • next file statement
  • next statement
  • next, inside a user-defined function
  • nextfile function
  • nextfile statement
  • NF, NF
  • non-interactive buffering vs. interactive
  • not operator
  • NR, NR
  • null string, null string, null string
  • null string, as array subscript
  • number of fields, NF
  • number of records, NR, FNR
  • numbers, used as subscripts
  • numeric character values
  • numeric constant
  • numeric output format
  • numeric string
  • numeric value
  • o

  • obsolete features
  • obsolete options
  • OFMT, OFMT, OFMT
  • OFS, OFS
  • old awk
  • old awk vs. new awk
  • one-liners
  • operations, logical
  • operator precedence
  • operators, arithmetic
  • operators, assignment
  • operators, boolean
  • operators, decrement
  • operators, increment
  • operators, regexp matching
  • operators, relational, operators, relational
  • operators, short-circuit
  • operators, string
  • operators, string-matching
  • options, command line
  • options, long
  • or operator
  • ord
  • order of evaluation
  • ORS, ORS
  • output
  • output field separator, OFS
  • output format specifier, OFMT
  • output record separator, ORS
  • output redirection
  • output, buffering, output, buffering
  • output, formatted
  • output, piping
  • p

  • passes, multiple
  • password file
  • path, search
  • pattern, BEGIN
  • pattern, default
  • pattern, definition of
  • pattern, empty
  • pattern, END
  • pattern, range
  • pattern, regular expressions
  • patterns, types of
  • per file initialization and clean-up
  • PERL
  • pipeline, input
  • pipes for output
  • portability issues, portability issues, portability issues, portability issues, portability issues, portability issues, portability issues, portability issues
  • porting gawk
  • POSIX awk, POSIX awk, POSIX awk, POSIX awk, POSIX awk, POSIX awk, POSIX awk, POSIX awk, POSIX awk, POSIX awk, POSIX awk, POSIX awk, POSIX awk, POSIX awk, POSIX awk, POSIX awk, POSIX awk, POSIX awk, POSIX awk
  • POSIX mode
  • POSIXLY_CORRECT environment variable
  • precedence
  • precedence, regexp operators
  • print statement
  • printf statement, syntax of
  • printf, format-control characters
  • printf, modifiers
  • printing
  • procedural languages
  • process information
  • processing arguments
  • program file
  • program, awk
  • program, definition of, program, definition of
  • program, self contained
  • programs, documenting, programs, documenting
  • pwcat program
  • pwcat.c
  • q

  • quotient
  • quoting, shell, quoting, shell
  • r

  • Rakitzis, Byron
  • rand
  • random numbers, seed of
  • range pattern
  • Rankin, Pat, Rankin, Pat, Rankin, Pat
  • reading files
  • reading files, getline command
  • reading files, multiple line records
  • record separator, RS
  • record terminator, RT
  • record, definition of
  • records, multiple line
  • recursive function
  • redirection of input
  • redirection of output
  • reference to array
  • regexp
  • regexp as expression
  • regexp comparison vs. string comparison
  • regexp constant
  • regexp constants, difference between slashes and quotes
  • regexp match/non-match operators, regexp match/non-match operators
  • regexp matching operators
  • regexp operators
  • regexp operators, GNU specific
  • regexp operators, precedence of
  • regexp, anchors
  • regexp, dynamic
  • regexp, effect of command line options
  • regular expression
  • regular expression metacharacters
  • regular expressions as field separators
  • regular expressions as patterns
  • regular expressions as record separators
  • regular expressions, computed
  • relational operators, relational operators
  • remainder
  • removing elements of arrays
  • return statement
  • RFC-1036
  • RFC-822
  • RLENGTH, RLENGTH
  • Robbins, Miriam
  • Rommel, Kai Uwe, Rommel, Kai Uwe
  • round
  • rounding
  • RS, RS
  • RSTART, RSTART
  • RT, RT, RT
  • rule, definition of, rule, definition of
  • running awk programs
  • running long programs
  • rvalue
  • s

  • sample input file
  • scanning an array
  • script, definition of
  • scripts, executable
  • scripts, shell
  • search path
  • search path, for source files
  • sed utility, sed utility, sed utility
  • seed for random numbers
  • self contained programs
  • shell quoting, shell quoting
  • shell scripts
  • short-circuit operators
  • side effect
  • simple stream editor
  • sin
  • single character fields
  • single quotes, why needed
  • skipping input files
  • skipping lines between markers
  • sparse arrays
  • split
  • split utility
  • split.awk
  • sprintf
  • sqrt
  • srand
  • Stallman, Richard, Stallman, Richard
  • standard error output
  • standard input, standard input, standard input
  • standard output
  • statement, compound
  • stream editor
  • stream editor, simple
  • strftime
  • string comparison vs. regexp comparison
  • string constants
  • string operators
  • string-matching operators
  • sub
  • sub, third argument of
  • subscripts in arrays
  • SUBSEP, SUBSEP
  • substr
  • subtraction
  • system
  • systime
  • t

  • Tcl
  • tee utility
  • tee.awk
  • terminator, record
  • time of day
  • timestamps
  • timestamps, converting from dates
  • timestamps, formatted
  • tolower
  • toupper
  • translate.awk
  • Trueman, David
  • truth values
  • type conversion
  • types of variables, types of variables
  • u

  • undefined functions
  • undocumented features
  • uninitialized variables, as array subscripts
  • uniq utility
  • uniq.awk
  • use of comments
  • user information
  • user-defined functions
  • user-defined variables
  • uses of awk
  • using this book
  • v

  • values of characters as numbers
  • variable shadowing
  • variable typing
  • variables, user-defined
  • w

  • Wall, Larry
  • wc utility
  • wc.awk
  • Weinberger, Peter
  • when to use awk
  • while statement
  • word boundaries, matching
  • word, regexp definition of
  • wordfreq.sh
  • |

  • || operator
  • ~

  • ~ operator, ~ operator, ~ operator, ~ operator, ~ operator

  • Go to the first, previous, next, last section, table of contents.