Go to the previous section.

Index

!

  • ! 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
  • -v option
  • -W option

    /

  • `/dev/fd'
  • `/dev/pgrpid'
  • `/dev/pid'
  • `/dev/ppid'
  • `/dev/stderr'
  • `/dev/stdin'
  • `/dev/stdout'
  • `/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
  • acronym
  • action, curly braces
  • action, default
  • action, definition of
  • action, empty
  • action, separating statements
  • adding new features
  • addition
  • Aho, Alfred
  • alarm.awk
  • amiga
  • anchors in regexps
  • and operator
  • anonymous ftp
  • applications of awk
  • ARGC
  • ARGIND
  • argument processing
  • arguments in function call
  • arguments, command line
  • ARGV
  • arithmetic operators
  • array assignment
  • array reference
  • 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
  • ASCII
  • assert
  • assert, C version
  • assertions
  • assignment operators
  • assignment to fields
  • associative arrays
  • atan2
  • atari
  • automatic initialization
  • awk language, POSIX version
  • awk language, V.4 version
  • AWKPATH environment variable
  • awksed

    b

  • backslash continuation
  • 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
  • buffer matching operators
  • buffering output
  • 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 value
  • 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
  • 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
  • common mistakes
  • comp.lang.awk
  • comparison expressions
  • comparisons, string vs. regexp
  • 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
  • cos
  • csh, backslash continuation
  • curly braces
  • custom.h configuration file
  • cut utility
  • cut.awk

    d

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

    e

  • EBCDIC
  • egrep
  • egrep utility
  • egrep.awk
  • element assignment
  • element of array
  • empty action
  • empty pattern
  • empty program
  • empty string
  • END special pattern
  • endfile
  • endgrent
  • endpwent
  • ENVIRON
  • environment variable, AWKPATH
  • environment variable, POSIXLY_CORRECT
  • equivalence classes
  • ERRNO
  • 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
  • Fish, Fred
  • flushing buffers
  • FNR
  • for (x in ...)
  • for statement
  • format specifier
  • format string
  • format, numeric output
  • formatted output
  • formatted timestamps
  • Free Software Foundation
  • FreeBSD
  • Friedl, Jeffrey
  • FS
  • ftp, anonymous
  • 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
  • getopt
  • getopt, C version
  • getpwent
  • getpwent, C version
  • getpwnam
  • getpwuid
  • gettimeofday
  • getting gawk
  • GNU Project
  • grcat program
  • grcat.c
  • group file
  • group information
  • gsub

    h

  • Hankerson, Darrel
  • 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
  • ignoring case
  • 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
  • interval expressions
  • `inventory-shipped' file
  • invocation of gawk
  • ISO 8601
  • ISO 8859-1
  • ISO Latin-1

    j

  • Jaegermann, Michal
  • join

    k

  • Kernighan, Brian
  • known bugs

    l

  • labels.awk
  • language, awk
  • language, data-driven
  • language, procedural
  • leftmost longest match
  • length
  • limitations
  • line break
  • line continuation
  • 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
  • mawk
  • merging strings
  • metacharacters
  • 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
  • nextfile function
  • nextfile statement
  • NF
  • not operator
  • NR
  • 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
  • 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, short-circuit
  • operators, string
  • operators, string-matching
  • options, command line
  • options, long
  • or operator
  • ord
  • order of evaluation
  • ORS
  • output
  • output field separator, OFS
  • output format specifier, OFMT
  • output record separator, ORS
  • output redirection
  • 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
  • porting gawk
  • 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, self contained
  • programs, documenting
  • pwcat program
  • pwcat.c

    q

  • quotient
  • quoting, shell

    r

  • Rakitzis, Byron
  • rand
  • random numbers, seed of
  • range pattern
  • 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 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
  • remainder
  • removing elements of arrays
  • return statement
  • RFC-1036
  • RFC-822
  • RLENGTH
  • Robbins, Miriam
  • Rommel, Kai Uwe
  • RS
  • RSTART
  • RT
  • 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
  • seed for random numbers
  • self contained programs
  • 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
  • standard error output
  • 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
  • subscripts in arrays
  • 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

    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
  • Go to the previous section.