Go to the previous section.

Index

#

  • `#!'

    $

  • $ (field operator)

    -

  • `-C' option
  • `-c' option
  • `-f' option
  • `-F' option
  • `-v' option
  • `-V' option

    /

  • `/dev/fd/'
  • `/dev/stderr'
  • `/dev/stdin'
  • `/dev/stdout'

    a

  • accessing fields
  • acronym
  • action, curly braces
  • action, default
  • action, definition of
  • action, separating statements
  • addition
  • and operator
  • applications of awk
  • arguments in function call
  • arguments, command line
  • ARGV
  • arithmetic operators
  • array assignment
  • array reference
  • arrays
  • arrays, definition of
  • arrays, deleting an element
  • arrays, determining presence of elements
  • arrays, multi-dimensional subscripts
  • arrays, special for statement
  • assignment operators
  • assignment to fields
  • associative arrays
  • awk language
  • awk program
  • AWKPATH environment variable

    b

  • backslash continuation
  • basic function of gawk
  • `BBS-list' file
  • BEGIN special pattern
  • body of a loop
  • boolean expressions
  • boolean operators
  • boolean patterns
  • break statement
  • built-in functions
  • built-in variables
  • built-in variables, user modifiable

    c

  • call by reference
  • call by value
  • calling a function
  • case sensitivity
  • changing contents of a field
  • close
  • closing input files and pipes
  • closing output files and pipes
  • command line
  • command line formats
  • command line, setting FS on
  • comments
  • comparison expressions
  • comparison expressions as patterns
  • computed regular expressions
  • concatenation
  • conditional expression
  • constants, types of
  • continuation of lines
  • continue statement
  • control statement
  • conversion of strings and numbers
  • curly braces

    d

  • default action
  • default pattern
  • defining functions
  • delete statement
  • deleting elements of arrays
  • directory search
  • division
  • documenting awk programs
  • dynamic regular expressions

    e

  • element assignment
  • element of array
  • empty pattern
  • END special pattern
  • ENVIRON
  • escape sequence notation
  • examining fields
  • executable scripts
  • exit statement
  • explicit input
  • exponentiation
  • expression
  • expression, conditional
  • expressions, assignment
  • expressions, boolean
  • expressions, comparison

    f

  • field separator, choice of
  • field separator, FS
  • field separator, setting on command line
  • field, changing contents of
  • fields
  • fields, separating
  • file descriptors
  • file, awk program
  • FILENAME
  • FNR
  • for (x in ...)
  • for statement
  • format specifier
  • format string
  • formatted output
  • FS
  • function call
  • function definition
  • functions, user-defined

    g

  • getline
  • gsub

    h

  • history of awk
  • how awk works

    i

  • if statement
  • increment operators
  • input
  • input file, sample
  • input redirection
  • input, explicit
  • input, getline command
  • input, multiple line records
  • input, standard
  • interaction of awk with other programs
  • `inventory-shipped' file
  • invocation of gawk

    l

  • language, awk
  • length
  • logical operations
  • loop
  • loops, exiting
  • lvalue

    m

  • manual, using this
  • match
  • metacharacters
  • modifiers (in format specifiers)
  • multi-dimensional subscripts
  • multiple line records
  • multiple passes over data
  • multiple statements on one line
  • multiplication

    n

  • next statement
  • NF
  • not operator
  • NR
  • number of fields, NF
  • number of records, NR or FNR
  • numeric constant
  • numeric value

    o

  • OFMT
  • OFS
  • one-liners
  • operator precedence
  • operators, $
  • operators, arithmetic
  • operators, assignment
  • operators, boolean
  • operators, increment
  • operators, regular expression matching
  • operators, relational
  • operators, string
  • operators, string-matching
  • options, command line
  • or operator
  • ORS
  • output
  • output field separator, OFS
  • output record separator, ORS
  • output redirection
  • output, formatted
  • output, piping

    p

  • passes, multiple
  • path, search
  • pattern, case sensitive
  • pattern, comparison expressions
  • pattern, default
  • pattern, definition of
  • pattern, empty
  • pattern, regular expressions
  • patterns, BEGIN
  • patterns, boolean
  • patterns, END
  • patterns, range
  • patterns, types of
  • pipes for output
  • precedence
  • `print $0'
  • print statement
  • printf statement, syntax of
  • printf, format-control characters
  • printf, modifiers
  • printing
  • program file
  • program, awk
  • program, definition of
  • program, self contained
  • programs, documenting

    q

  • quotient

    r

  • range pattern
  • reading files
  • reading files, getline command
  • reading files, multiple line records
  • record separator
  • records, multiple line
  • redirection of input
  • redirection of output
  • reference to array
  • regexp
  • regexp as expression
  • regexp operators
  • regexp search operators
  • regular expression matching operators
  • regular expression metacharacters
  • regular expressions as field separators
  • regular expressions as patterns
  • regular expressions, computed
  • relational operators
  • remainder
  • removing elements of arrays
  • return statement
  • RLENGTH
  • RS
  • RSTART
  • rule, definition of
  • running awk programs
  • running long programs

    s

  • sample input file
  • scanning an array
  • script, definition of
  • scripts, executable
  • scripts, shell
  • search path
  • self contained programs
  • shell scripts
  • side effect
  • single quotes, why needed
  • split
  • sprintf
  • standard error output
  • standard input
  • standard output
  • string constants
  • string operators
  • string-matching operators
  • sub
  • subscripts, multi-dimensional in arrays
  • SUBSEP
  • substr
  • subtraction
  • system

    t

  • tolower
  • toupper

    u

  • use of comments
  • user-defined functions
  • user-defined variables
  • uses of awk
  • using this manual

    v

  • variables, user-defined

    w

  • when to use awk
  • while statement
  • Go to the previous section.