home *** CD-ROM | disk | FTP | other *** search
- \entry {uses of awk}{1}{uses of \code {awk}}
- \entry {acronym}{1}{acronym}
- \entry {history of awk}{1}{history of \code {awk}}
- \entry {manual, using this}{9}{manual, using this}
- \entry {using this manual}{9}{using this manual}
- \entry {language, awk}{9}{language, \code {awk}}
- \entry {program, awk}{9}{program, \code {awk}}
- \entry {awk language}{9}{\code {awk} language}
- \entry {awk program}{9}{\code {awk} program}
- \entry {input file, sample}{9}{input file, sample}
- \entry {sample input file}{9}{sample input file}
- \entry {BBS-list file}{9}{\file {BBS-list} file}
- \entry {inventory-shipped file}{10}{\file {inventory-shipped} file}
- \entry {script, definition of}{11}{script, definition of}
- \entry {rule, definition of}{11}{rule, definition of}
- \entry {program, definition of}{11}{program, definition of}
- \entry {basic function of gawk}{11}{basic function of \code {gawk}}
- \entry {print $0}{11}{\samp {print $0}}
- \entry {action, default}{12}{action, default}
- \entry {pattern, default}{12}{pattern, default}
- \entry {default action}{12}{default action}
- \entry {default pattern}{12}{default pattern}
- \entry {how awk works}{12}{how \code {awk} works}
- \entry {command line formats}{14}{command line formats}
- \entry {running awk programs}{14}{running \code {awk} programs}
- \entry {single quotes, why needed}{15}{single quotes, why needed}
- \entry {standard input}{15}{standard input}
- \entry {input, standard}{15}{input, standard}
- \entry {case sensitivity}{16}{case sensitivity}
- \entry {pattern, case sensitive}{16}{pattern, case sensitive}
- \entry {running long programs}{16}{running long programs}
- \entry {-f option}{16}{\samp {-f} option}
- \entry {program file}{16}{program file}
- \entry {file, awk program}{16}{file, \code {awk} program}
- \entry {executable scripts}{17}{executable scripts}
- \entry {scripts, executable}{17}{scripts, executable}
- \entry {self contained programs}{17}{self contained programs}
- \entry {program, self contained}{17}{program, self contained}
- \entry {#!}{17}{\samp {#!}}
- \entry {shell scripts}{17}{shell scripts}
- \entry {scripts, shell}{17}{scripts, shell}
- \entry {comments}{18}{comments}
- \entry {use of comments}{18}{use of comments}
- \entry {documenting awk programs}{18}{documenting \code {awk} programs}
- \entry {programs, documenting}{18}{programs, documenting}
- \entry {backslash continuation}{18}{backslash continuation}
- \entry {continuation of lines}{18}{continuation of lines}
- \entry {multiple statements on one line}{19}{multiple statements on one line}
- \entry {when to use awk}{19}{when to use \code {awk}}
- \entry {applications of awk}{19}{applications of \code {awk}}
- \entry {reading files}{21}{reading files}
- \entry {input}{21}{input}
- \entry {standard input}{21}{standard input}
- \entry {FILENAME}{21}{\code {FILENAME}}
- \entry {record separator}{21}{record separator}
- \entry {RS}{21}{\code {RS}}
- \entry {number of records, NR or FNR}{22}{number of records, \code {NR} or \code {FNR}}
- \entry {NR}{22}{\code {NR}}
- \entry {FNR}{22}{\code {FNR}}
- \entry {examining fields}{22}{examining fields}
- \entry {fields}{22}{fields}
- \entry {accessing fields}{22}{accessing fields}
- \entry {$ (field operator)}{23}{\code {$} (field operator)}
- \entry {operators, $}{23}{operators, \code {$}}
- \entry {NF}{23}{\code {NF}}
- \entry {number of fields, NF}{23}{number of fields, \code {NF}}
- \entry {field, changing contents of}{24}{field, changing contents of}
- \entry {changing contents of a field}{24}{changing contents of a field}
- \entry {assignment to fields}{24}{assignment to fields}
- \entry {FS}{26}{\code {FS}}
- \entry {fields, separating}{26}{fields, separating}
- \entry {field separator, FS}{26}{field separator, \code {FS}}
- \entry {-F option}{26}{\samp {-F} option}
- \entry {field separator, choice of}{26}{field separator, choice of}
- \entry {regular expressions as field separators}{26}{regular expressions as field separators}
- \entry {field separator, setting on command line}{27}{field separator, setting on command line}
- \entry {command line, setting FS on}{27}{command line, setting \code {FS} on}
- \entry {multiple line records}{29}{multiple line records}
- \entry {input, multiple line records}{29}{input, multiple line records}
- \entry {reading files, multiple line records}{29}{reading files, multiple line records}
- \entry {records, multiple line}{29}{records, multiple line}
- \entry {getline}{30}{\code {getline}}
- \entry {input, explicit}{30}{input, explicit}
- \entry {explicit input}{30}{explicit input}
- \entry {input, getline command}{30}{input, \code {getline} command}
- \entry {reading files, getline command}{30}{reading files, \code {getline} command}
- \entry {input redirection}{32}{input redirection}
- \entry {redirection of input}{32}{redirection of input}
- \entry {closing input files and pipes}{34}{closing input files and pipes}
- \entry {close}{34}{\code {close}}
- \entry {printing}{37}{printing}
- \entry {output}{37}{output}
- \entry {print statement}{37}{\code {print} statement}
- \entry {output field separator, OFS}{39}{output field separator, \code {OFS}}
- \entry {OFS}{39}{\code {OFS}}
- \entry {ORS}{39}{\code {ORS}}
- \entry {output record separator, ORS}{39}{output record separator, \code {ORS}}
- \entry {formatted output}{40}{formatted output}
- \entry {output, formatted}{40}{output, formatted}
- \entry {printf statement, syntax of}{40}{\code {printf} statement, syntax of}
- \entry {format string}{40}{format string}
- \entry {printf, format-control characters}{41}{\code {printf}, format-control characters}
- \entry {format specifier}{41}{format specifier}
- \entry {printf, modifiers}{42}{\code {printf}, modifiers}
- \entry {modifiers (in format specifiers)}{42}{modifiers (in format specifiers)}
- \entry {output redirection}{44}{output redirection}
- \entry {redirection of output}{44}{redirection of output}
- \entry {pipes for output}{45}{pipes for output}
- \entry {output, piping}{45}{output, piping}
- \entry {closing output files and pipes}{45}{closing output files and pipes}
- \entry {close}{45}{\code {close}}
- \entry {standard input}{47}{standard input}
- \entry {standard output}{47}{standard output}
- \entry {standard error output}{47}{standard error output}
- \entry {file descriptors}{47}{file descriptors}
- \entry {/dev/stdin}{47}{\file {/dev/stdin}}
- \entry {/dev/stdout}{47}{\file {/dev/stdout}}
- \entry {/dev/stderr}{47}{\file {/dev/stderr}}
- \entry {/dev/fd/}{47}{\file {/dev/fd/}}
- \entry {one-liners}{49}{one-liners}
- \entry {pattern, definition of}{51}{pattern, definition of}
- \entry {patterns, types of}{51}{patterns, types of}
- \entry {empty pattern}{51}{empty pattern}
- \entry {pattern, empty}{51}{pattern, empty}
- \entry {pattern, regular expressions}{51}{pattern, regular expressions}
- \entry {regexp}{51}{regexp}
- \entry {regular expressions as patterns}{51}{regular expressions as patterns}
- \entry {regular expression matching operators}{52}{regular expression matching operators}
- \entry {string-matching operators}{52}{string-matching operators}
- \entry {operators, string-matching}{52}{operators, string-matching}
- \entry {operators, regular expression matching}{52}{operators, regular expression matching}
- \entry {regexp search operators}{52}{regexp search operators}
- \entry {computed regular expressions}{52}{computed regular expressions}
- \entry {regular expressions, computed}{52}{regular expressions, computed}
- \entry {dynamic regular expressions}{52}{dynamic regular expressions}
- \entry {metacharacters}{53}{metacharacters}
- \entry {regular expression metacharacters}{53}{regular expression metacharacters}
- \entry {comparison expressions as patterns}{56}{comparison expressions as patterns}
- \entry {pattern, comparison expressions}{56}{pattern, comparison expressions}
- \entry {relational operators}{56}{relational operators}
- \entry {operators, relational}{56}{operators, relational}
- \entry {patterns, boolean}{57}{patterns, boolean}
- \entry {boolean patterns}{57}{boolean patterns}
- \entry {range pattern}{59}{range pattern}
- \entry {patterns, range}{59}{patterns, range}
- \entry {BEGIN special pattern}{59}{\code {BEGIN} special pattern}
- \entry {patterns, BEGIN}{59}{patterns, \code {BEGIN}}
- \entry {END special pattern}{59}{\code {END} special pattern}
- \entry {patterns, END}{59}{patterns, \code {END}}
- \entry {action, definition of}{61}{action, definition of}
- \entry {curly braces}{61}{curly braces}
- \entry {action, curly braces}{61}{action, curly braces}
- \entry {action, separating statements}{61}{action, separating statements}
- \entry {expression}{63}{expression}
- \entry {constants, types of}{63}{constants, types of}
- \entry {string constants}{63}{string constants}
- \entry {numeric constant}{63}{numeric constant}
- \entry {numeric value}{63}{numeric value}
- \entry {escape sequence notation}{63}{escape sequence notation}
- \entry {variables, user-defined}{65}{variables, user-defined}
- \entry {user-defined variables}{65}{user-defined variables}
- \entry {arithmetic operators}{66}{arithmetic operators}
- \entry {operators, arithmetic}{66}{operators, arithmetic}
- \entry {addition}{66}{addition}
- \entry {subtraction}{66}{subtraction}
- \entry {multiplication}{66}{multiplication}
- \entry {division}{66}{division}
- \entry {remainder}{66}{remainder}
- \entry {quotient}{66}{quotient}
- \entry {exponentiation}{66}{exponentiation}
- \entry {string operators}{67}{string operators}
- \entry {operators, string}{67}{operators, string}
- \entry {concatenation}{67}{concatenation}
- \entry {comparison expressions}{68}{comparison expressions}
- \entry {expressions, comparison}{68}{expressions, comparison}
- \entry {relational operators}{68}{relational operators}
- \entry {operators, relational}{68}{operators, relational}
- \entry {regexp operators}{68}{regexp operators}
- \entry {regexp as expression}{69}{regexp as expression}
- \entry {expressions, boolean}{69}{expressions, boolean}
- \entry {boolean expressions}{69}{boolean expressions}
- \entry {operators, boolean}{69}{operators, boolean}
- \entry {boolean operators}{69}{boolean operators}
- \entry {logical operations}{69}{logical operations}
- \entry {and operator}{69}{and operator}
- \entry {or operator}{69}{or operator}
- \entry {not operator}{69}{not operator}
- \entry {assignment operators}{70}{assignment operators}
- \entry {operators, assignment}{70}{operators, assignment}
- \entry {expressions, assignment}{70}{expressions, assignment}
- \entry {side effect}{71}{side effect}
- \entry {lvalue}{71}{lvalue}
- \entry {increment operators}{72}{increment operators}
- \entry {operators, increment}{72}{operators, increment}
- \entry {conversion of strings and numbers}{73}{conversion of strings and numbers}
- \entry {OFMT}{74}{\code {OFMT}}
- \entry {conditional expression}{74}{conditional expression}
- \entry {expression, conditional}{74}{expression, conditional}
- \entry {function call}{75}{function call}
- \entry {calling a function}{75}{calling a function}
- \entry {arguments in function call}{75}{arguments in function call}
- \entry {precedence}{76}{precedence}
- \entry {operator precedence}{76}{operator precedence}
- \entry {control statement}{79}{control statement}
- \entry {if statement}{79}{\code {if} statement}
- \entry {while statement}{80}{\code {while} statement}
- \entry {loop}{80}{loop}
- \entry {body of a loop}{80}{body of a loop}
- \entry {for statement}{82}{\code {for} statement}
- \entry {break statement}{83}{\code {break} statement}
- \entry {loops, exiting}{83}{loops, exiting}
- \entry {continue statement}{84}{\code {continue} statement}
- \entry {next statement}{86}{\code {next} statement}
- \entry {exit statement}{86}{\code {exit} statement}
- \entry {arrays}{89}{arrays}
- \entry {arrays, definition of}{89}{arrays, definition of}
- \entry {associative arrays}{89}{associative arrays}
- \entry {array reference}{91}{array reference}
- \entry {element of array}{91}{element of array}
- \entry {reference to array}{91}{reference to array}
- \entry {arrays, determining presence of elements}{91}{arrays, determining presence of elements}
- \entry {array assignment}{92}{array assignment}
- \entry {element assignment}{92}{element assignment}
- \entry {for (x in \dots {})}{93}{\code {for (x in \dots {})}}
- \entry {arrays, special for statement}{93}{arrays, special \code {for} statement}
- \entry {scanning an array}{93}{scanning an array}
- \entry {delete statement}{94}{\code {delete} statement}
- \entry {deleting elements of arrays}{94}{deleting elements of arrays}
- \entry {removing elements of arrays}{94}{removing elements of arrays}
- \entry {arrays, deleting an element}{94}{arrays, deleting an element}
- \entry {subscripts, multi-dimensional in arrays}{95}{subscripts, multi-dimensional in arrays}
- \entry {arrays, multi-dimensional subscripts}{95}{arrays, multi-dimensional subscripts}
- \entry {multi-dimensional subscripts}{95}{multi-dimensional subscripts}
- \entry {SUBSEP}{95}{\code {SUBSEP}}
- \entry {built-in functions}{99}{built-in functions}
- \entry {match}{101}{\code {match}}
- \entry {length}{101}{\code {length}}
- \entry {match}{101}{\code {match}}
- \entry {RSTART}{101}{\code {RSTART}}
- \entry {RLENGTH}{101}{\code {RLENGTH}}
- \entry {split}{102}{\code {split}}
- \entry {sprintf}{102}{\code {sprintf}}
- \entry {sub}{102}{\code {sub}}
- \entry {gsub}{103}{\code {gsub}}
- \entry {substr}{104}{\code {substr}}
- \entry {tolower}{104}{\code {tolower}}
- \entry {toupper}{104}{\code {toupper}}
- \entry {system}{104}{\code {system}}
- \entry {interaction of awk with other programs}{104}{interaction of \code {awk} with other programs}
- \entry {user-defined functions}{105}{user-defined functions}
- \entry {functions, user-defined}{105}{functions, user-defined}
- \entry {defining functions}{105}{defining functions}
- \entry {function definition}{105}{function definition}
- \entry {call by value}{107}{call by value}
- \entry {call by reference}{108}{call by reference}
- \entry {return statement}{109}{\code {return} statement}
- \entry {built-in variables}{111}{built-in variables}
- \entry {built-in variables, user modifiable}{111}{built-in variables, user modifiable}
- \entry {ENVIRON}{113}{\code {ENVIRON}}
- \entry {command line}{115}{command line}
- \entry {invocation of gawk}{115}{invocation of \code {gawk}}
- \entry {arguments, command line}{115}{arguments, command line}
- \entry {options, command line}{115}{options, command line}
- \entry {-v option}{115}{\samp {-v} option}
- \entry {-c option}{115}{\samp {-c} option}
- \entry {-V option}{115}{\samp {-V} option}
- \entry {-C option}{116}{\samp {-C} option}
- \entry {ARGV}{116}{\code {ARGV}}
- \entry {multiple passes over data}{117}{multiple passes over data}
- \entry {passes, multiple}{117}{passes, multiple}
- \entry {AWKPATH environment variable}{117}{\code {AWKPATH} environment variable}
- \entry {search path}{117}{search path}
- \entry {directory search}{117}{directory search}
- \entry {path, search}{117}{path, search}
-