|
Index Entry
|
|
Section
|
|
|
|
|
!
|
|
|
|
|
! (exclamation point), !~ operator:
|
|
Regexp Usage
|
|
! (exclamation point), !~ operator:
|
|
Computed Regexps
|
|
! (exclamation point), !~ operator:
|
|
Case-sensitivity
|
|
! (exclamation point), !~ operator:
|
|
Regexp Constants
|
|
! (exclamation point), != operator:
|
|
Comparison Operators
|
|
! (exclamation point), !~ operator:
|
|
Comparison Operators
|
|
! (exclamation point), !~ operator:
|
|
Comparison Operators
|
|
! (exclamation point), ! operator:
|
|
Boolean Ops
|
|
! (exclamation point), ! operator:
|
|
Precedence
|
|
! (exclamation point), != operator:
|
|
Precedence
|
|
! (exclamation point), !~ operator:
|
|
Precedence
|
|
! (exclamation point), !~ operator:
|
|
Expression Patterns
|
|
! (exclamation point), ! operator:
|
|
Ranges
|
|
! (exclamation point), ! operator:
|
|
Egrep Program
|
|
|
|
|
"
|
|
|
|
|
" (double quote), in shell commands:
|
|
Quoting
|
|
" (double quote), in regexp constants:
|
|
Computed Regexps
|
|
|
|
|
#
|
|
|
|
|
# (number sign), #! (executable scripts):
|
|
Executable Scripts
|
|
# (number sign), commenting:
|
|
Comments
|
|
|
|
|
$
|
|
|
|
|
$ (dollar sign), regexp operator:
|
|
Regexp Operator Details
|
|
$ (dollar sign), $ field operator:
|
|
Fields
|
|
$ (dollar sign), incrementing fields and arrays:
|
|
Increment Ops
|
|
$ (dollar sign), $ field operator:
|
|
Precedence
|
|
|
|
|
%
|
|
|
|
|
% (percent sign), %= operator:
|
|
Assignment Ops
|
|
% (percent sign), % operator:
|
|
Precedence
|
|
% (percent sign), %= operator:
|
|
Precedence
|
|
|
|
|
&
|
|
|
|
|
& (ampersand), && operator:
|
|
Boolean Ops
|
|
& (ampersand), && operator:
|
|
Precedence
|
|
& (ampersand), gsub()/gensub()/sub() functions and:
|
|
Gory Details
|
|
|
|
|
'
|
|
|
|
|
' (single quote):
|
|
One-shot
|
|
' (single quote), in gawk command lines:
|
|
Long
|
|
' (single quote), vs. apostrophe:
|
|
Comments
|
|
' (single quote), in shell commands:
|
|
Quoting
|
|
' (single quote), with double quotes:
|
|
Quoting
|
|
|
|
|
(
|
|
|
|
|
() (parentheses), regexp operator:
|
|
Regexp Operator Details
|
|
() (parentheses), in a profile:
|
|
Profiling
|
|
|
|
|
*
|
|
|
|
|
* (asterisk), * operator, as regexp operator:
|
|
Regexp Operator Details
|
|
* (asterisk), ** operator:
|
|
Arithmetic Ops
|
|
* (asterisk), *= operator:
|
|
Assignment Ops
|
|
* (asterisk), **= operator:
|
|
Assignment Ops
|
|
* (asterisk), ** operator:
|
|
Precedence
|
|
* (asterisk), * operator, as multiplication operator:
|
|
Precedence
|
|
* (asterisk), *= operator:
|
|
Precedence
|
|
* (asterisk), **= operator:
|
|
Precedence
|
|
* (asterisk), * operator, null strings, matching:
|
|
String Functions
|
|
|
|
|
+
|
|
|
|
|
+ (plus sign), regexp operator:
|
|
Regexp Operator Details
|
|
+ (plus sign), += operator:
|
|
Assignment Ops
|
|
+ (plus sign), ++ operator:
|
|
Increment Ops
|
|
+ (plus sign), ++ operator:
|
|
Increment Ops
|
|
+ (plus sign), ++ operator:
|
|
Precedence
|
|
+ (plus sign), + operator:
|
|
Precedence
|
|
+ (plus sign), + operator:
|
|
Precedence
|
|
+ (plus sign), += operator:
|
|
Precedence
|
|
|
|
|
,
|
|
|
|
|
, (comma), in range patterns:
|
|
Ranges
|
|
|
|
|
-
|
|
|
|
|
- (hyphen), file names beginning with:
|
|
Options
|
|
- (hyphen), -- end of options marker:
|
|
Options
|
|
- (hyphen), in bracket expressions:
|
|
Bracket Expressions
|
|
- (hyphen), -= operator:
|
|
Assignment Ops
|
|
- (hyphen), -- operator:
|
|
Increment Ops
|
|
- (hyphen), -- operator:
|
|
Precedence
|
|
- (hyphen), - operator:
|
|
Precedence
|
|
- (hyphen), - operator:
|
|
Precedence
|
|
- (hyphen), -= operator:
|
|
Precedence
|
|
--assign option:
|
|
Options
|
|
--bignum option:
|
|
Options
|
|
--characters-as-bytes option:
|
|
Options
|
|
--copyright option:
|
|
Options
|
|
--debug option:
|
|
Options
|
|
--disable-extensions configuration option:
|
|
Additional Configuration Options
|
|
--disable-lint configuration option:
|
|
Additional Configuration Options
|
|
--disable-mpfr configuration option:
|
|
Additional Configuration Options
|
|
--disable-nls configuration option:
|
|
Additional Configuration Options
|
|
--dump-variables option:
|
|
Options
|
|
--dump-variables option, using for library functions:
|
|
Library Names
|
|
--enable-versioned-extension-dir configuration option:
|
|
Additional Configuration Options
|
|
--exec option:
|
|
Options
|
|
--field-separator option:
|
|
Options
|
|
--file option:
|
|
Options
|
|
--gen-pot option:
|
|
Options
|
|
--gen-pot option:
|
|
String Extraction
|
|
--gen-pot option:
|
|
String Extraction
|
|
--help option:
|
|
Options
|
|
--include option:
|
|
Options
|
|
--lint option:
|
|
Command Line
|
|
--lint option:
|
|
Options
|
|
--lint-old option:
|
|
Options
|
|
--load option:
|
|
Options
|
|
--no-optimize option:
|
|
Options
|
|
--non-decimal-data option:
|
|
Options
|
|
--non-decimal-data option:
|
|
Nondecimal Data
|
|
--non-decimal-data option, strtonum() function and:
|
|
Nondecimal Data
|
|
--optimize option:
|
|
Options
|
|
--posix option:
|
|
Options
|
|
--posix option, --traditional option and:
|
|
Options
|
|
--pretty-print option:
|
|
Options
|
|
--profile option:
|
|
Options
|
|
--profile option:
|
|
Profiling
|
|
--re-interval option:
|
|
Options
|
|
--sandbox option:
|
|
Options
|
|
--sandbox option, input redirection with getline:
|
|
Getline
|
|
--sandbox option, output redirection with print, printf:
|
|
Redirection
|
|
--sandbox option, disabling system() function:
|
|
I/O Functions
|
|
--source option:
|
|
Options
|
|
--traditional option:
|
|
Options
|
|
--traditional option, --posix option and:
|
|
Options
|
|
--use-lc-numeric option:
|
|
Options
|
|
--version option:
|
|
Options
|
|
-b option:
|
|
Options
|
|
-c option:
|
|
Options
|
|
-C option:
|
|
Options
|
|
-d option:
|
|
Options
|
|
-D option:
|
|
Options
|
|
-e option:
|
|
Options
|
|
-E option:
|
|
Options
|
|
-e option:
|
|
Options
|
|
-f option:
|
|
Long
|
|
-F option:
|
|
Options
|
|
-f option:
|
|
Options
|
|
-F option, -Ft sets FS to TAB:
|
|
Options
|
|
-f option, multiple uses:
|
|
Options
|
|
-F option, command-line:
|
|
Command Line Field Separator
|
|
-g option:
|
|
Options
|
|
-h option:
|
|
Options
|
|
-i option:
|
|
Options
|
|
-l option:
|
|
Options
|
|
-l option:
|
|
Options
|
|
-L option:
|
|
Options
|
|
-M option:
|
|
Options
|
|
-n option:
|
|
Options
|
|
-N option:
|
|
Options
|
|
-o option:
|
|
Options
|
|
-O option:
|
|
Options
|
|
-p option:
|
|
Options
|
|
-P option:
|
|
Options
|
|
-r option:
|
|
Options
|
|
-s option:
|
|
Options
|
|
-S option:
|
|
Options
|
|
-v option:
|
|
Options
|
|
-V option:
|
|
Options
|
|
-v option:
|
|
Assignment Options
|
|
-W option:
|
|
Options
|
|
|
|
|
.
|
|
|
|
|
. (period), regexp operator:
|
|
Regexp Operator Details
|
|
.gmo files:
|
|
Explaining gettext
|
|
.gmo files, specifying directory of:
|
|
Explaining gettext
|
|
.gmo files, specifying directory of:
|
|
Programmer i18n
|
|
.mo files, converting from .po:
|
|
I18N Example
|
|
.po files:
|
|
Explaining gettext
|
|
.po files:
|
|
Translator i18n
|
|
.po files, converting to .mo:
|
|
I18N Example
|
|
.pot files:
|
|
Explaining gettext
|
|
|
|
|
/
|
|
|
|
|
/ (forward slash), to enclose regular expressions:
|
|
Regexp
|
|
/ (forward slash), /= operator:
|
|
Assignment Ops
|
|
/ (forward slash), /= operator, vs. /=…/ regexp constant:
|
|
Assignment Ops
|
|
/ (forward slash), / operator:
|
|
Precedence
|
|
/ (forward slash), /= operator:
|
|
Precedence
|
|
/ (forward slash), patterns and:
|
|
Expression Patterns
|
|
/= operator vs. /=…/ regexp constant:
|
|
Assignment Ops
|
|
/dev/… special files:
|
|
Special FD
|
|
/dev/fd/N special files (gawk):
|
|
Special FD
|
|
/inet/… special files (gawk):
|
|
TCP/IP Networking
|
|
/inet4/… special files (gawk):
|
|
TCP/IP Networking
|
|
/inet6/… special files (gawk):
|
|
TCP/IP Networking
|
|
|
|
|
:
|
|
|
|
|
: (colon), ?: operator:
|
|
Precedence
|
|
: (colon), :: namespace separator:
|
|
Qualified Names
|
|
|
|
|
;
|
|
|
|
|
; (semicolon), separating statements in actions:
|
|
Statements/Lines
|
|
; (semicolon), separating rules:
|
|
Statements/Lines
|
|
; (semicolon), separating statements in actions:
|
|
Action Overview
|
|
; (semicolon), separating statements in actions:
|
|
Statements
|
|
; (semicolon), AWKPATH variable and:
|
|
PC Using
|
|
|
|
|
<
|
|
|
|
|
< (left angle bracket), < operator (I/O):
|
|
Getline/File
|
|
< (left angle bracket), < operator:
|
|
Comparison Operators
|
|
< (left angle bracket), <= operator:
|
|
Comparison Operators
|
|
< (left angle bracket), < operator:
|
|
Precedence
|
|
< (left angle bracket), <= operator:
|
|
Precedence
|
|
|
|
|
=
|
|
|
|
|
= (equals sign), = operator:
|
|
Assignment Ops
|
|
= (equals sign), == operator:
|
|
Comparison Operators
|
|
= (equals sign), == operator:
|
|
Precedence
|
|
|
|
|
>
|
|
|
|
|
> (right angle bracket), > operator (I/O):
|
|
Redirection
|
|
> (right angle bracket), >> operator (I/O):
|
|
Redirection
|
|
> (right angle bracket), >= operator:
|
|
Comparison Operators
|
|
> (right angle bracket), > operator:
|
|
Comparison Operators
|
|
> (right angle bracket), >= operator:
|
|
Precedence
|
|
> (right angle bracket), > operator:
|
|
Precedence
|
|
> (right angle bracket), >> operator (I/O):
|
|
Precedence
|
|
|
|
|
?
|
|
|
|
|
? (question mark), regexp operator:
|
|
Regexp Operator Details
|
|
? (question mark), regexp operator:
|
|
GNU Regexp Operators
|
|
? (question mark), ?: operator:
|
|
Precedence
|
|
|
|
|
@
|
|
|
|
|
@ (at-sign), @include directive:
|
|
Include Files
|
|
@ (at-sign), @load directive:
|
|
Loading Shared Libraries
|
|
@ (at-sign), @-notation for indirect function calls:
|
|
Indirect Calls
|
|
@ (at-sign), @namespace directive:
|
|
Changing The Namespace
|
|
@ (at-sign), @namespace directive, BEGIN, BEGINFILE, END, ENDFILE and:
|
|
Changing The Namespace
|
|
|
|
|
[
|
|
|
|
|
[] (square brackets), regexp operator:
|
|
Regexp Operator Details
|
|
|
|
|
\\
|
|
|
|
|
\ (backslash):
|
|
Comments
|
|
\ (backslash), in shell commands:
|
|
Quoting
|
|
\ (backslash), continuing lines and:
|
|
Statements/Lines
|
|
\ (backslash), continuing lines and, in csh:
|
|
Statements/Lines
|
|
\ (backslash), continuing lines and, comments and:
|
|
Statements/Lines
|
|
\ (backslash), in escape sequences:
|
|
Escape Sequences
|
|
\ (backslash), \a escape sequence:
|
|
Escape Sequences
|
|
\ (backslash), \b escape sequence:
|
|
Escape Sequences
|
|
\ (backslash), \f escape sequence:
|
|
Escape Sequences
|
|
\ (backslash), \n escape sequence:
|
|
Escape Sequences
|
|
\ (backslash), \r escape sequence:
|
|
Escape Sequences
|
|
\ (backslash), \t escape sequence:
|
|
Escape Sequences
|
|
\ (backslash), \v escape sequence:
|
|
Escape Sequences
|
|
\ (backslash), \nnn escape sequence:
|
|
Escape Sequences
|
|
\ (backslash), \x escape sequence:
|
|
Escape Sequences
|
|
\ (backslash), \/ escape sequence:
|
|
Escape Sequences
|
|
\ (backslash), \" escape sequence:
|
|
Escape Sequences
|
|
\ (backslash), in escape sequences:
|
|
Escape Sequences
|
|
\ (backslash), in escape sequences, POSIX and:
|
|
Escape Sequences
|
|
\ (backslash), regexp operator:
|
|
Regexp Operator Details
|
|
\ (backslash), in bracket expressions:
|
|
Bracket Expressions
|
|
\ (backslash), in regexp constants:
|
|
Computed Regexps
|
|
\ (backslash), \s operator (gawk):
|
|
GNU Regexp Operators
|
|
\ (backslash), \S operator (gawk):
|
|
GNU Regexp Operators
|
|
\ (backslash), \w operator (gawk):
|
|
GNU Regexp Operators
|
|
\ (backslash), \W operator (gawk):
|
|
GNU Regexp Operators
|
|
\ (backslash), \< operator (gawk):
|
|
GNU Regexp Operators
|
|
\ (backslash), \> operator (gawk):
|
|
GNU Regexp Operators
|
|
\ (backslash), \y operator (gawk):
|
|
GNU Regexp Operators
|
|
\ (backslash), \B operator (gawk):
|
|
GNU Regexp Operators
|
|
\ (backslash), \` operator (gawk):
|
|
GNU Regexp Operators
|
|
\ (backslash), \' operator (gawk):
|
|
GNU Regexp Operators
|
|
\ (backslash), as field separator:
|
|
Command Line Field Separator
|
|
\ (backslash), gsub()/gensub()/sub() functions and:
|
|
Gory Details
|
|
|
|
|
^
|
|
|
|
|
^ (caret), regexp operator:
|
|
Regexp Operator Details
|
|
^ (caret), in bracket expressions:
|
|
Bracket Expressions
|
|
^ (caret), regexp operator:
|
|
GNU Regexp Operators
|
|
^ (caret), in FS:
|
|
Regexp Field Splitting
|
|
^ (caret), ^= operator:
|
|
Assignment Ops
|
|
^ (caret), ^ operator:
|
|
Precedence
|
|
^ (caret), ^= operator:
|
|
Precedence
|
|
|
|
|
_
|
|
|
|
|
_ (underscore), in names of private variables:
|
|
Library Names
|
|
_ (underscore), C macro:
|
|
Explaining gettext
|
|
_ (underscore), translatable strings:
|
|
Programmer i18n
|
|
_gr_init() user-defined function:
|
|
Group Functions
|
|
_ord_init() user-defined function:
|
|
Ordinal Functions
|
|
_pw_init() user-defined function:
|
|
Passwd Functions
|
|
|
|
|
{
|
|
|
|
|
{} (braces), regexp operator:
|
|
Regexp Operator Details
|
|
{} (braces), actions and:
|
|
Action Overview
|
|
{} (braces), statements, grouping:
|
|
Statements
|
|
{} (braces):
|
|
Profiling
|
|
|
|
|
|
|
|
|
|
[[../Regexp-Operator-Details#index-_007c-_0028vertical-bar_0029 |
(vertical bar)]]:
|
|
Regexp Operator Details
|
|
[[../Getline_002fPipe#index-_007c-_0028vertical-bar_0029-1 |
operator (I/O)]]:
|
|
Getline/Pipe
|
|
[[../Getline_002fCoprocess#index-_007c-_0028vertical-bar_0029-2 |
& operator (I/O)]]:
|
|
Getline/Coprocess
|
|
[[../Redirection#index-_007c-_0028vertical-bar_0029-3 |
operator (I/O)]]:
|
|
Redirection
|
|
[[../Redirection#index-_007c-_0028vertical-bar_0029-4 |
& operator (I/O)]]:
|
|
Redirection
|
|
[[../Close-Files-And-Pipes#index-_007c-_0028vertical-bar_0029-5 |
& operator (I/O), pipes, closing]]:
|
|
Close Files And Pipes
|
|
[[../Boolean-Ops#index-_007c-_0028vertical-bar_0029-6 |
(vertical bar), |
operator]]:
|
|
Boolean Ops
|
|
[[../Precedence#index-_007c-_0028vertical-bar_0029-7 |
operator (I/O)]]:
|
|
Precedence
|
|
[[../Precedence#index-_007c-_0028vertical-bar_0029-8 |
& operator (I/O)]]:
|
|
Precedence
|
|
[[../Precedence#index-_007c-_0028vertical-bar_0029-9 |
(vertical bar), |
operator]]:
|
|
Precedence
|
|
[[../Two_002dway-I_002fO#index-_007c-_0028vertical-bar_0029-10 |
& operator (I/O)]]:
|
|
Two-way I/O
|
|
|
|
|
~
|
|
|
|
|
~ (tilde), ~ operator:
|
|
Regexp Usage
|
|
~ (tilde), ~ operator:
|
|
Computed Regexps
|
|
~ (tilde), ~ operator:
|
|
Case-sensitivity
|
|
~ (tilde), ~ operator:
|
|
Regexp Constants
|
|
~ (tilde), ~ operator:
|
|
Comparison Operators
|
|
~ (tilde), ~ operator:
|
|
Comparison Operators
|
|
~ (tilde), ~ operator:
|
|
Precedence
|
|
~ (tilde), ~ operator:
|
|
Expression Patterns
|
|
|
|
|
A
|
|
|
|
|
aaa (amazing awk assembler) program:
|
|
Glossary
|
|
accessing fields:
|
|
Fields
|
|
accessing global variables from extensions:
|
|
Symbol Table Access
|
|
account information:
|
|
Passwd Functions
|
|
account information:
|
|
Group Functions
|
|
actions, default:
|
|
Very Simple
|
|
actions, empty:
|
|
Very Simple
|
|
actions:
|
|
Action Overview
|
|
actions, control statements in:
|
|
Statements
|
|
Ada programming language:
|
|
Glossary
|
|
adding, fields:
|
|
Changing Fields
|
|
adding, features to gawk:
|
|
Adding Code
|
|
advanced features, fixed-width data:
|
|
Constant Size
|
|
advanced features, specifying field content:
|
|
Splitting By Content
|
|
advanced features, gawk:
|
|
Advanced Features
|
|
advanced features, nondecimal input data:
|
|
Nondecimal Data
|
|
advanced features, processes, communicating with:
|
|
Two-way I/O
|
|
advanced features, network programming:
|
|
TCP/IP Networking
|
|
Aho, Alfred:
|
|
History
|
|
Aho, Alfred:
|
|
Contributors
|
|
alarm clock example program:
|
|
Alarm Program
|
|
alarm.awk program:
|
|
Alarm Program
|
|
algorithms:
|
|
Basic High Level
|
|
all source files, show in debugger:
|
|
Debugger Info
|
|
allocating memory for extensions:
|
|
Memory Allocation Functions
|
|
amazing awk assembler (aaa):
|
|
Glossary
|
|
amazingly workable formatter (awf):
|
|
Glossary
|
|
ambiguity, syntactic: /= operator vs. /=…/ regexp constant:
|
|
Assignment Ops
|
|
ampersand (&), && operator:
|
|
Boolean Ops
|
|
ampersand (&), && operator:
|
|
Precedence
|
|
ampersand (&), gsub()/gensub()/sub() functions and:
|
|
Gory Details
|
|
anagram.awk program:
|
|
Anagram Program
|
|
anagrams, finding:
|
|
Anagram Program
|
|
AND bitwise operation:
|
|
Bitwise Functions
|
|
and Boolean-logic operator:
|
|
Boolean Ops
|
|
and() function (gawk):
|
|
Bitwise Functions
|
|
ANSI:
|
|
Glossary
|
|
API, version:
|
|
Extension Versioning
|
|
API, informational variables:
|
|
Extension API Informational Variables
|
|
arbitrary precision:
|
|
Arbitrary Precision Arithmetic
|
|
arbitrary precision:
|
|
Computer Arithmetic
|
|
arbitrary precision, integers:
|
|
Arbitrary Precision Integers
|
|
archaeologists:
|
|
Bugs
|
|
arctangent:
|
|
Numeric Functions
|
|
ARGC/ARGV variables, portability and:
|
|
Executable Scripts
|
|
ARGC/ARGV variables, command-line arguments:
|
|
Other Arguments
|
|
ARGC/ARGV variables:
|
|
Auto-set
|
|
ARGC/ARGV variables, how to use:
|
|
ARGC and ARGV
|
|
ARGIND variable, command-line arguments:
|
|
Other Arguments
|
|
ARGIND variable:
|
|
Auto-set
|
|
arguments, command-line, invoking awk:
|
|
Command Line
|
|
arguments, command-line:
|
|
Other Arguments
|
|
arguments, in function calls:
|
|
Function Calls
|
|
arguments, command-line:
|
|
Auto-set
|
|
arguments, command-line:
|
|
ARGC and ARGV
|
|
arguments, processing:
|
|
Getopt Function
|
|
ARGV array:
|
|
Options
|
|
ARGV array, indexing into:
|
|
Other Arguments
|
|
arithmetic operators:
|
|
Arithmetic Ops
|
|
array manipulation in extensions:
|
|
Array Manipulation
|
|
array members:
|
|
Reference to Elements
|
|
array scanning order, controlling:
|
|
Controlling Scanning
|
|
array subscripts, numbers as:
|
|
Numeric Array Subscripts
|
|
array subscripts, null string as:
|
|
Uninitialized Subscripts
|
|
arrays:
|
|
Arrays
|
|
arrays, indexing:
|
|
Array Intro
|
|
arrays, associative:
|
|
Array Intro
|
|
arrays, sparse:
|
|
Array Intro
|
|
arrays, IGNORECASE variable and:
|
|
Array Intro
|
|
arrays, referencing elements:
|
|
Reference to Elements
|
|
arrays, unassigned elements:
|
|
Reference to Elements
|
|
arrays, elements, that don’t exist:
|
|
Reference to Elements
|
|
arrays, elements, assigning values:
|
|
Assigning Elements
|
|
arrays, example of using:
|
|
Array Example
|
|
arrays, scanning:
|
|
Scanning an Array
|
|
arrays, for statement and:
|
|
Scanning an Array
|
|
arrays, elements, order of access by in operator:
|
|
Scanning an Array
|
|
arrays, numeric subscripts:
|
|
Numeric Array Subscripts
|
|
arrays, subscripts, uninitialized variables as:
|
|
Uninitialized Subscripts
|
|
arrays, elements, deleting:
|
|
Delete
|
|
arrays, deleting entire contents:
|
|
Delete
|
|
arrays, multidimensional:
|
|
Multidimensional
|
|
arrays, multidimensional, scanning:
|
|
Multiscanning
|
|
arrays, arrays of arrays:
|
|
Arrays of Arrays
|
|
arrays, elements, retrieving number of:
|
|
String Functions
|
|
arrays, number of elements:
|
|
String Functions
|
|
arrays, as parameters to functions:
|
|
Pass By Value/Reference
|
|
arrays, associative, library functions and:
|
|
Library Names
|
|
arrays, merging into strings:
|
|
Join Function
|
|
arrays, sorting, asort() function (gawk):
|
|
Array Sorting Functions
|
|
arrays, sorting, asorti() function (gawk):
|
|
Array Sorting Functions
|
|
arrays, sorting, IGNORECASE variable and:
|
|
Array Sorting Functions
|
|
artificial intelligence, gawk and:
|
|
Distribution contents
|
|
ASCII:
|
|
Escape Sequences
|
|
ASCII:
|
|
Bracket Expressions
|
|
ASCII:
|
|
Scalar Constants
|
|
ASCII:
|
|
Ordinal Functions
|
|
ASCII:
|
|
Alarm Program
|
|
ASCII:
|
|
Two-way I/O
|
|
ASCII:
|
|
Ranges and Locales
|
|
ASCII:
|
|
Ranges and Locales
|
|
ASCII:
|
|
History summary
|
|
ASCII:
|
|
Glossary
|
|
ASCII:
|
|
Glossary
|
|
asort() function (gawk):
|
|
String Functions
|
|
asort() function (gawk):
|
|
Array Sorting Functions
|
|
asort() function (gawk), arrays, sorting:
|
|
Array Sorting Functions
|
|
asort() function (gawk), side effects:
|
|
Array Sorting Functions
|
|
asorti() function (gawk):
|
|
String Functions
|
|
asorti() function (gawk):
|
|
Array Sorting Functions
|
|
asorti() function (gawk), arrays, sorting:
|
|
Array Sorting Functions
|
|
asorti() function (gawk), side effects:
|
|
Array Sorting Functions
|
|
assert() function (C library):
|
|
Assert Function
|
|
assert() user-defined function:
|
|
Assert Function
|
|
assertions:
|
|
Assert Function
|
|
assign values to variables, in debugger:
|
|
Viewing And Changing Data
|
|
assignment operators:
|
|
Assignment Ops
|
|
assignment operators, lvalues/rvalues:
|
|
Assignment Ops
|
|
assignment operators, evaluation order:
|
|
Assignment Ops
|
|
assignments as file names:
|
|
Ignoring Assigns
|
|
associative arrays:
|
|
Array Intro
|
|
asterisk (*), * operator, as regexp operator:
|
|
Regexp Operator Details
|
|
asterisk (*), ** operator:
|
|
Arithmetic Ops
|
|
asterisk (*), *= operator:
|
|
Assignment Ops
|
|
asterisk (*), **= operator:
|
|
Assignment Ops
|
|
asterisk (*), ** operator:
|
|
Precedence
|
|
asterisk (*), * operator, as multiplication operator:
|
|
Precedence
|
|
asterisk (*), *= operator:
|
|
Precedence
|
|
asterisk (*), **= operator:
|
|
Precedence
|
|
asterisk (*), * operator, null strings, matching:
|
|
String Functions
|
|
at-sign (@), @include directive:
|
|
Include Files
|
|
at-sign (@), @load directive:
|
|
Loading Shared Libraries
|
|
at-sign (@), @-notation for indirect function calls:
|
|
Indirect Calls
|
|
at-sign (@), @namespace directive:
|
|
Changing The Namespace
|
|
at-sign (@), @namespace directive, BEGIN, BEGINFILE, END, ENDFILE and:
|
|
Changing The Namespace
|
|
atan2() function:
|
|
Numeric Functions
|
|
automatic displays, in debugger:
|
|
Debugger Info
|
|
awf (amazingly workable formatter) program:
|
|
Glossary
|
|
awk:
|
|
Preface
|
|
awk, POSIX and:
|
|
Preface
|
|
awk, POSIX and:
|
|
Preface
|
|
awk, gawk and:
|
|
Preface
|
|
awk, uses for:
|
|
Preface
|
|
awk, history of:
|
|
History
|
|
awk, new vs. old:
|
|
Names
|
|
awk, terms describing:
|
|
This Manual
|
|
awk, gawk and:
|
|
This Manual
|
|
awk, function of:
|
|
Getting Started
|
|
awk, uses for:
|
|
Getting Started
|
|
awk, uses for:
|
|
When
|
|
awk, invoking:
|
|
Command Line
|
|
awk, profiling, enabling:
|
|
Options
|
|
awk, implementations, limits:
|
|
Getline Notes
|
|
awk, implementation issues, pipes:
|
|
Redirection
|
|
awk, new vs. old, OFMT variable:
|
|
Strings And Numbers
|
|
awk, language, POSIX version:
|
|
Assignment Ops
|
|
awk, regexp constants and:
|
|
Comparison Operators
|
|
awk, language, POSIX version:
|
|
Next Statement
|
|
awk, language, POSIX version:
|
|
Definition Syntax
|
|
awk, namespace:
|
|
Default Namespace
|
|
awk, namespace, identifier name storage:
|
|
Internal Name Management
|
|
awk, namespace, use for indirect function calls:
|
|
Internal Name Management
|
|
awk, versions of:
|
|
V7/SVR3.1
|
|
awk, versions of, changes between V7 and SVR3.1:
|
|
V7/SVR3.1
|
|
awk, versions of, changes between SVR3.1 and SVR4:
|
|
SVR4
|
|
awk, versions of, changes between SVR4 and POSIX awk:
|
|
POSIX
|
|
awk, versions of:
|
|
BTL
|
|
awk, implementations:
|
|
Other Versions
|
|
awk, versions of:
|
|
Other Versions
|
|
awk programs:
|
|
Getting Started
|
|
awk programs, running:
|
|
Running gawk
|
|
awk programs, running, from shell scripts:
|
|
One-shot
|
|
awk programs, running, without input files:
|
|
Read Terminal
|
|
awk programs, running:
|
|
Long
|
|
awk programs, lengthy:
|
|
Long
|
|
awk programs:
|
|
Executable Scripts
|
|
awk programs, documenting:
|
|
Comments
|
|
awk programs, one-line examples:
|
|
Very Simple
|
|
awk programs:
|
|
Two Rules
|
|
awk programs, complex:
|
|
When
|
|
awk programs, location of:
|
|
Options
|
|
awk programs, debugging, enabling:
|
|
Options
|
|
awk programs, location of:
|
|
Options
|
|
awk programs, location of:
|
|
Options
|
|
awk programs, shell variables in:
|
|
Using Shell Variables
|
|
awk programs, execution of:
|
|
Next Statement
|
|
awk programs, internationalizing:
|
|
I18N Functions
|
|
awk programs, documenting:
|
|
Library Names
|
|
awk programs, lengthy, assertions:
|
|
Assert Function
|
|
awk programs, examples of:
|
|
Sample Programs
|
|
awk programs, profiling:
|
|
Profiling
|
|
awk programs, internationalizing:
|
|
Programmer i18n
|
|
awka compiler for awk:
|
|
Other Versions
|
|
awk:
|
|
Preface
|
|
AWKLIBPATH environment variable:
|
|
AWKLIBPATH Variable
|
|
AWKPATH environment variable:
|
|
AWKPATH Variable
|
|
AWKPATH environment variable:
|
|
PC Using
|
|
awkprof.out file:
|
|
Profiling
|
|
awksed.awk program:
|
|
Simple Sed
|
|
awkvars.out file:
|
|
Options
|
|
|
|
|
B
|
|
|
|
|
b debugger command (alias for break):
|
|
Breakpoint Control
|
|
backslash (\):
|
|
Comments
|
|
backslash (\), in shell commands:
|
|
Quoting
|
|
backslash (\), continuing lines and:
|
|
Statements/Lines
|
|
backslash (\), continuing lines and, in csh:
|
|
Statements/Lines
|
|
backslash (\), continuing lines and, comments and:
|
|
Statements/Lines
|
|
backslash (\), in escape sequences:
|
|
Escape Sequences
|
|
backslash (\), \a escape sequence:
|
|
Escape Sequences
|
|
backslash (\), \b escape sequence:
|
|
Escape Sequences
|
|
backslash (\), \f escape sequence:
|
|
Escape Sequences
|
|
backslash (\), \n escape sequence:
|
|
Escape Sequences
|
|
backslash (\), \r escape sequence:
|
|
Escape Sequences
|
|
backslash (\), \t escape sequence:
|
|
Escape Sequences
|
|
backslash (\), \v escape sequence:
|
|
Escape Sequences
|
|
backslash (\), \nnn escape sequence:
|
|
Escape Sequences
|
|
backslash (\), \x escape sequence:
|
|
Escape Sequences
|
|
backslash (\), \/ escape sequence:
|
|
Escape Sequences
|
|
backslash (\), \" escape sequence:
|
|
Escape Sequences
|
|
backslash (\), in escape sequences:
|
|
Escape Sequences
|
|
backslash (\), in escape sequences, POSIX and:
|
|
Escape Sequences
|
|
backslash (\), regexp operator:
|
|
Regexp Operator Details
|
|
backslash (\), in bracket expressions:
|
|
Bracket Expressions
|
|
backslash (\), in regexp constants:
|
|
Computed Regexps
|
|
backslash (\), \s operator (gawk):
|
|
GNU Regexp Operators
|
|
backslash (\), \S operator (gawk):
|
|
GNU Regexp Operators
|
|
backslash (\), \w operator (gawk):
|
|
GNU Regexp Operators
|
|
backslash (\), \W operator (gawk):
|
|
GNU Regexp Operators
|
|
backslash (\), \< operator (gawk):
|
|
GNU Regexp Operators
|
|
backslash (\), \> operator (gawk):
|
|
GNU Regexp Operators
|
|
backslash (\), \y operator (gawk):
|
|
GNU Regexp Operators
|
|
backslash (\), \B operator (gawk):
|
|
GNU Regexp Operators
|
|
backslash (\), \` operator (gawk):
|
|
GNU Regexp Operators
|
|
backslash (\), \' operator (gawk):
|
|
GNU Regexp Operators
|
|
backslash (\), as field separator:
|
|
Command Line Field Separator
|
|
backslash (\), gsub()/gensub()/sub() functions and:
|
|
Gory Details
|
|
backtrace debugger command:
|
|
Execution Stack
|
|
Beebe, Nelson H.F.:
|
|
Acknowledgments
|
|
Beebe, Nelson H.F.:
|
|
Numeric Functions
|
|
Beebe, Nelson H.F.:
|
|
Other Versions
|
|
BEGIN pattern:
|
|
Field Separators
|
|
BEGIN pattern, getline and:
|
|
Getline Notes
|
|
BEGIN pattern, headings, adding:
|
|
Print Examples
|
|
BEGIN pattern, OFS/ORS variables, assigning values to:
|
|
Output Separators
|
|
BEGIN pattern, Boolean patterns and:
|
|
Expression Patterns
|
|
BEGIN pattern:
|
|
BEGIN/END
|
|
BEGIN pattern:
|
|
Using BEGIN/END
|
|
BEGIN pattern, operators and:
|
|
Using BEGIN/END
|
|
BEGIN pattern, print statement and:
|
|
I/O And BEGIN/END
|
|
BEGIN pattern, next/nextfile statements and:
|
|
I/O And BEGIN/END
|
|
BEGIN pattern, next/nextfile statements and:
|
|
Next Statement
|
|
BEGIN pattern, exit statement and:
|
|
Exit Statement
|
|
BEGIN pattern, assert() user-defined function and:
|
|
Assert Function
|
|
BEGIN pattern, pwcat program:
|
|
Passwd Functions
|
|
BEGIN pattern, running awk programs and:
|
|
Cut Program
|
|
BEGIN pattern, profiling and:
|
|
Profiling
|
|
BEGIN pattern, TEXTDOMAIN variable and:
|
|
Programmer i18n
|
|
BEGIN pattern, @namespace directive and:
|
|
Changing The Namespace
|
|
BEGINFILE pattern, Boolean patterns and:
|
|
Expression Patterns
|
|
BEGINFILE pattern:
|
|
BEGINFILE/ENDFILE
|
|
BEGINFILE pattern, @namespace directive and:
|
|
Changing The Namespace
|
|
beginfile() user-defined function:
|
|
Filetrans Function
|
|
Bentley, Jon:
|
|
Glossary
|
|
Benzinger, Michael:
|
|
Contributors
|
|
Berry, Karl:
|
|
Acknowledgments
|
|
Berry, Karl:
|
|
Acknowledgments
|
|
Berry, Karl:
|
|
Ranges and Locales
|
|
binary input/output:
|
|
User-modified
|
|
bindtextdomain() function (C library):
|
|
Explaining gettext
|
|
bindtextdomain() function (gawk):
|
|
I18N Functions
|
|
bindtextdomain() function (gawk):
|
|
Programmer i18n
|
|
bindtextdomain() function (gawk), portability and:
|
|
I18N Portability
|
|
BINMODE variable:
|
|
User-modified
|
|
BINMODE variable:
|
|
PC Using
|
|
bit-manipulation functions:
|
|
Bitwise Functions
|
|
bits2str() user-defined function:
|
|
Bitwise Functions
|
|
bitwise, operations:
|
|
Bitwise Functions
|
|
bitwise, complement:
|
|
Bitwise Functions
|
|
bitwise, shift:
|
|
Bitwise Functions
|
|
bitwise, AND:
|
|
Bitwise Functions
|
|
bitwise, complement:
|
|
Bitwise Functions
|
|
bitwise, OR:
|
|
Bitwise Functions
|
|
bitwise, XOR:
|
|
Bitwise Functions
|
|
body, in actions:
|
|
Statements
|
|
body, in loops:
|
|
While Statement
|
|
Boolean expressions:
|
|
Boolean Ops
|
|
Boolean expressions, as patterns:
|
|
Expression Patterns
|
|
Bourne shell, quoting rules for:
|
|
Quoting
|
|
braces ({}), regexp operator:
|
|
Regexp Operator Details
|
|
braces ({}), actions and:
|
|
Action Overview
|
|
braces ({}), statements, grouping:
|
|
Statements
|
|
braces ({}):
|
|
Profiling
|
|
bracket expressions:
|
|
Regexp Operator Details
|
|
bracket expressions, complemented:
|
|
Regexp Operator Details
|
|
bracket expressions:
|
|
Bracket Expressions
|
|
bracket expressions, range expressions:
|
|
Bracket Expressions
|
|
bracket expressions, character lists:
|
|
Bracket Expressions
|
|
bracket expressions, character classes:
|
|
Bracket Expressions
|
|
bracket expressions, collating elements:
|
|
Bracket Expressions
|
|
bracket expressions, non-ASCII:
|
|
Bracket Expressions
|
|
bracket expressions, collating symbols:
|
|
Bracket Expressions
|
|
bracket expressions, equivalence classes:
|
|
Bracket Expressions
|
|
break debugger command:
|
|
Breakpoint Control
|
|
break statement:
|
|
Break Statement
|
|
breakpoint:
|
|
Debugging Terms
|
|
breakpoint, setting:
|
|
Breakpoint Control
|
|
breakpoint, at location, how to delete:
|
|
Breakpoint Control
|
|
breakpoint, condition:
|
|
Breakpoint Control
|
|
breakpoint, delete by number:
|
|
Breakpoint Control
|
|
breakpoint, how to disable or enable:
|
|
Breakpoint Control
|
|
breakpoint, commands to execute at:
|
|
Debugger Execution Control
|
|
breakpoint, show all in debugger:
|
|
Debugger Info
|
|
Brennan, Michael:
|
|
Foreword3
|
|
Brennan, Michael:
|
|
Foreword4
|
|
Brennan, Michael:
|
|
Acknowledgments
|
|
Brennan, Michael:
|
|
Delete
|
|
Brennan, Michael:
|
|
Simple Sed
|
|
Brennan, Michael:
|
|
Other Versions
|
|
Brennan, Michael:
|
|
Other Versions
|
|
Brian Kernighan’s awk:
|
|
When
|
|
Brian Kernighan’s awk:
|
|
Escape Sequences
|
|
Brian Kernighan’s awk:
|
|
GNU Regexp Operators
|
|
Brian Kernighan’s awk:
|
|
gawk split records
|
|
Brian Kernighan’s awk:
|
|
Regexp Field Splitting
|
|
Brian Kernighan’s awk:
|
|
Getline/Pipe
|
|
Brian Kernighan’s awk:
|
|
Concatenation
|
|
Brian Kernighan’s awk:
|
|
I/O And BEGIN/END
|
|
Brian Kernighan’s awk:
|
|
Break Statement
|
|
Brian Kernighan’s awk:
|
|
Continue Statement
|
|
Brian Kernighan’s awk:
|
|
Nextfile Statement
|
|
Brian Kernighan’s awk:
|
|
Delete
|
|
Brian Kernighan’s awk:
|
|
String Functions
|
|
Brian Kernighan’s awk:
|
|
Gory Details
|
|
Brian Kernighan’s awk:
|
|
I/O Functions
|
|
Brian Kernighan’s awk, extensions:
|
|
BTL
|
|
Brian Kernighan’s awk, source code:
|
|
Other Versions
|
|
Brini, Davide:
|
|
Signature Program
|
|
Brink, Jeroen:
|
|
DOS Quoting
|
|
Broder, Alan J.:
|
|
Contributors
|
|
Brown, Martin:
|
|
Contributors
|
|
BSD-based operating systems:
|
|
Glossary
|
|
bt debugger command (alias for backtrace):
|
|
Execution Stack
|
|
Buening, Andreas:
|
|
Acknowledgments
|
|
Buening, Andreas:
|
|
Contributors
|
|
Buening, Andreas:
|
|
Maintainers
|
|
buffering, interactive vs. noninteractive:
|
|
I/O Functions
|
|
buffering, input/output:
|
|
I/O Functions
|
|
buffering, input/output:
|
|
Two-way I/O
|
|
buffers, operators for:
|
|
GNU Regexp Operators
|
|
buffers, flushing:
|
|
I/O Functions
|
|
buffers, flushing:
|
|
I/O Functions
|
|
bug reports, email address, [email protected]:
|
|
Bug address
|
|
[email protected] bug reporting address:
|
|
Bug address
|
|
built-in functions:
|
|
Functions
|
|
built-in functions, evaluation order:
|
|
Calling Built-in
|
|
BusyBox Awk:
|
|
Other Versions
|
|
|
|
|
C
|
|
|
|
|
C library functions, assert():
|
|
Assert Function
|
|
C library functions, getopt():
|
|
Getopt Function
|
|
C library functions, getpwent():
|
|
Passwd Functions
|
|
C library functions, getpwnam():
|
|
Passwd Functions
|
|
C library functions, getpwuid():
|
|
Passwd Functions
|
|
C library functions, getpwent():
|
|
Passwd Functions
|
|
C library functions, endpwent():
|
|
Passwd Functions
|
|
C library functions, getgrent():
|
|
Group Functions
|
|
C library functions, getgrnam():
|
|
Group Functions
|
|
C library functions, getgrgid():
|
|
Group Functions
|
|
C library functions, getgruser():
|
|
Group Functions
|
|
C library functions, getgrent():
|
|
Group Functions
|
|
C library functions, endgrent():
|
|
Group Functions
|
|
C library functions, getaddrinfo():
|
|
TCP/IP Networking
|
|
C library functions, textdomain():
|
|
Explaining gettext
|
|
C library functions, bindtextdomain():
|
|
Explaining gettext
|
|
C library functions, gettext():
|
|
Explaining gettext
|
|
call by reference:
|
|
Pass By Value/Reference
|
|
call by value:
|
|
Pass By Value/Reference
|
|
call stack, explanation of:
|
|
Debugging Terms
|
|
call stack, display in debugger:
|
|
Execution Stack
|
|
caret (^), regexp operator:
|
|
Regexp Operator Details
|
|
caret (^), in bracket expressions:
|
|
Bracket Expressions
|
|
caret (^), regexp operator:
|
|
GNU Regexp Operators
|
|
caret (^), ^= operator:
|
|
Assignment Ops
|
|
caret (^), ^ operator:
|
|
Precedence
|
|
caret (^), ^= operator:
|
|
Precedence
|
|
case keyword:
|
|
Switch Statement
|
|
case sensitivity, regexps and:
|
|
Case-sensitivity
|
|
case sensitivity, gawk:
|
|
Case-sensitivity
|
|
case sensitivity, string comparisons and:
|
|
User-modified
|
|
case sensitivity, regexps and:
|
|
User-modified
|
|
case sensitivity, array indices and:
|
|
Array Intro
|
|
case sensitivity, converting case:
|
|
String Functions
|
|
case sensitivity, example programs:
|
|
Library Functions
|
|
CGI, awk scripts for:
|
|
Options
|
|
character sets (machine character encodings):
|
|
Ordinal Functions
|
|
character sets (machine character encodings):
|
|
Glossary
|
|
characters, values of as numbers:
|
|
Ordinal Functions
|
|
characters, counting:
|
|
Wc Program
|
|
characters, transliterating:
|
|
Translate Program
|
|
Chassell, Robert J.:
|
|
Acknowledgments
|
|
chdir() extension function:
|
|
Extension Sample File Functions
|
|
checking for MPFR:
|
|
Checking for MPFR
|
|
chem utility:
|
|
Glossary
|
|
chr() extension function:
|
|
Extension Sample Ord
|
|
chr() user-defined function:
|
|
Ordinal Functions
|
|
clear debugger command:
|
|
Breakpoint Control
|
|
Cliff random numbers:
|
|
Cliff Random Function
|
|
cliff_rand() user-defined function:
|
|
Cliff Random Function
|
|
close file or coprocess:
|
|
I/O Functions
|
|
close() function:
|
|
Close Files And Pipes
|
|
close() function, portability:
|
|
Close Files And Pipes
|
|
close() function, return value:
|
|
Close Files And Pipes
|
|
close() function:
|
|
I/O Functions
|
|
close() function, two-way pipes and:
|
|
Two-way I/O
|
|
Close, Diane:
|
|
Manual History
|
|
Close, Diane:
|
|
Contributors
|
|
Collado, Manuel:
|
|
Acknowledgments
|
|
Collado, Manuel:
|
|
More CSV
|
|
collating elements:
|
|
Bracket Expressions
|
|
collating symbols:
|
|
Bracket Expressions
|
|
Colombo, Antonio:
|
|
Acknowledgments
|
|
Colombo, Antonio:
|
|
Contributors
|
|
colon (:), ?: operator:
|
|
Precedence
|
|
colon (:), :: namespace separator:
|
|
Qualified Names
|
|
columns, aligning:
|
|
Print Examples
|
|
columns, cutting:
|
|
Cut Program
|
|
comma (,), in range patterns:
|
|
Ranges
|
|
command completion, in debugger:
|
|
Readline Support
|
|
command line, formats:
|
|
Running gawk
|
|
command line, option -f:
|
|
Long
|
|
command line, invoking awk from:
|
|
Command Line
|
|
command line, options:
|
|
Options
|
|
command line, options, end of:
|
|
Options
|
|
command line, arguments:
|
|
Other Arguments
|
|
command line, FS on, setting:
|
|
Command Line Field Separator
|
|
command line, directories on:
|
|
Command-line directories
|
|
command line, variables, assigning on:
|
|
Assignment Options
|
|
command line, arguments:
|
|
Auto-set
|
|
command line, arguments:
|
|
Auto-set
|
|
command line, arguments:
|
|
ARGC and ARGV
|
|
command line, options, processing:
|
|
Getopt Function
|
|
command line, options, string extraction:
|
|
String Extraction
|
|
commands debugger command:
|
|
Debugger Execution Control
|
|
commands to execute at breakpoint:
|
|
Debugger Execution Control
|
|
commenting:
|
|
Comments
|
|
commenting, backslash continuation and:
|
|
Statements/Lines
|
|
common extensions, \x escape sequence:
|
|
Escape Sequences
|
|
common extensions, RS as a regexp:
|
|
gawk split records
|
|
common extensions, single character fields:
|
|
Single Character Fields
|
|
common extensions, /dev/stdin special file:
|
|
Special FD
|
|
common extensions, /dev/stdout special file:
|
|
Special FD
|
|
common extensions, /dev/stderr special file:
|
|
Special FD
|
|
common extensions, ** operator:
|
|
Arithmetic Ops
|
|
common extensions, **= operator:
|
|
Assignment Ops
|
|
common extensions, delete to delete entire arrays:
|
|
Delete
|
|
common extensions, length() applied to an array:
|
|
String Functions
|
|
common extensions, func keyword:
|
|
Definition Syntax
|
|
common extensions, BINMODE variable:
|
|
PC Using
|
|
comp.lang.awk newsgroup:
|
|
Usenet
|
|
comparison expressions:
|
|
Typing and Comparison
|
|
comparison expressions, string vs. regexp:
|
|
Comparison Operators
|
|
comparison expressions, as patterns:
|
|
Expression Patterns
|
|
compatibility mode (gawk), specifying:
|
|
Options
|
|
compatibility mode (gawk), file names:
|
|
Special Caveats
|
|
compatibility mode (gawk), octal numbers:
|
|
Nondecimal-numbers
|
|
compatibility mode (gawk), hexadecimal numbers:
|
|
Nondecimal-numbers
|
|
compatibility mode (gawk), extensions:
|
|
POSIX/GNU
|
|
compiled programs:
|
|
Basic High Level
|
|
compiled programs:
|
|
Glossary
|
|
compiling gawk, for MS-Windows:
|
|
PC Compiling
|
|
compiling gawk, for Cygwin:
|
|
Cygwin
|
|
compiling gawk, for VMS:
|
|
VMS Compilation
|
|
compl() function (gawk):
|
|
Bitwise Functions
|
|
complement, bitwise:
|
|
Bitwise Functions
|
|
component name:
|
|
Qualified Names
|
|
component name, naming rules:
|
|
Naming Rules
|
|
compound statements, control statements and:
|
|
Statements
|
|
concatenating:
|
|
Concatenation
|
|
condition debugger command:
|
|
Breakpoint Control
|
|
conditional expressions:
|
|
Conditional Exp
|
|
configuration option, --disable-extensions:
|
|
Additional Configuration Options
|
|
configuration option, --disable-lint:
|
|
Additional Configuration Options
|
|
configuration option, --disable-mpfr:
|
|
Additional Configuration Options
|
|
configuration option, --disable-nls:
|
|
Additional Configuration Options
|
|
configuration option, --enable-versioned-extension-dir:
|
|
Additional Configuration Options
|
|
configuration options, gawk:
|
|
Additional Configuration Options
|
|
constants, regexp:
|
|
Regexp Usage
|
|
constants, types of:
|
|
Constants
|
|
constants, numeric:
|
|
Scalar Constants
|
|
constants, string:
|
|
Scalar Constants
|
|
constants, nondecimal:
|
|
Nondecimal Data
|
|
continue debugger command:
|
|
Debugger Execution Control
|
|
continue program, in debugger:
|
|
Debugger Execution Control
|
|
continue statement:
|
|
Continue Statement
|
|
control statements:
|
|
Statements
|
|
controlling array scanning order:
|
|
Controlling Scanning
|
|
converting, string to numbers:
|
|
Strings And Numbers
|
|
converting, numbers to strings:
|
|
Strings And Numbers
|
|
converting, integer array subscripts to strings:
|
|
Numeric Array Subscripts
|
|
converting, string to numbers:
|
|
String Functions
|
|
converting, string to lower case:
|
|
String Functions
|
|
converting, string to upper case:
|
|
String Functions
|
|
converting, dates to timestamps:
|
|
Time Functions
|
|
converting, string to numbers:
|
|
Bitwise Functions
|
|
converting, numbers to strings:
|
|
Bitwise Functions
|
|
CONVFMT variable:
|
|
Strings And Numbers
|
|
CONVFMT variable:
|
|
User-modified
|
|
CONVFMT variable, array subscripts and:
|
|
Numeric Array Subscripts
|
|
cookie:
|
|
Glossary
|
|
coprocesses, getline from:
|
|
Getline/Coprocess
|
|
coprocesses:
|
|
Redirection
|
|
coprocesses, closing:
|
|
Close Files And Pipes
|
|
coprocesses:
|
|
Two-way I/O
|
|
cos() function:
|
|
Numeric Functions
|
|
cosine:
|
|
Numeric Functions
|
|
counting words, lines, and characters:
|
|
Wc Program
|
|
csh utility:
|
|
Statements/Lines
|
|
csh utility, POSIXLY_CORRECT environment variable:
|
|
Options
|
|
csh utility, |& operator, comparison with:
|
|
Two-way I/O
|
|
ctime() user-defined function:
|
|
Function Example
|
|
Curreli, Marco:
|
|
Contributors
|
|
currency symbols, localization:
|
|
Explaining gettext
|
|
current namespace, pushing and popping:
|
|
Changing The Namespace
|
|
current source file, show in debugger:
|
|
Debugger Info
|
|
current system time:
|
|
Time Functions
|
|
custom.h file:
|
|
Configuration Philosophy
|
|
customized input parser:
|
|
Input Parsers
|
|
customized output wrapper:
|
|
Output Wrappers
|
|
customized two-way processor:
|
|
Two-way processors
|
|
cut utility:
|
|
Cut Program
|
|
cut utility:
|
|
Cut Program
|
|
cut.awk program:
|
|
Cut Program
|
|
|
|
|
D
|
|
|
|
|
d debugger command (alias for delete):
|
|
Breakpoint Control
|
|
dark corner:
|
|
Conventions
|
|
dark corner, ARGV variable, value of:
|
|
Executable Scripts
|
|
dark corner, invoking awk:
|
|
Command Line
|
|
dark corner, empty programs:
|
|
Command Line
|
|
dark corner, escape sequences:
|
|
Other Arguments
|
|
dark corner, escape sequences, for metacharacters:
|
|
Escape Sequences
|
|
dark corner, input files:
|
|
awk split records
|
|
dark corner, strings, storing:
|
|
gawk split records
|
|
dark corner, NF variable, decrementing:
|
|
Changing Fields
|
|
dark corner, ^, in FS:
|
|
Regexp Field Splitting
|
|
dark corner, FS as null string:
|
|
Single Character Fields
|
|
dark corner, field separators:
|
|
Full Line Fields
|
|
dark corner, multiline records:
|
|
Multiple Line
|
|
dark corner, FILENAME variable:
|
|
Getline Notes
|
|
dark corner, OFMT variable:
|
|
OFMT
|
|
dark corner, format-control characters:
|
|
Control Letters
|
|
dark corner, format-control characters:
|
|
Control Letters
|
|
dark corner, close() function:
|
|
Close Files And Pipes
|
|
dark corner, string continuation:
|
|
Scalar Constants
|
|
dark corner, regexp constants:
|
|
Standard Regexp Constants
|
|
dark corner, regexp constants, as arguments to user-defined functions:
|
|
Standard Regexp Constants
|
|
dark corner, command-line arguments:
|
|
Assignment Options
|
|
dark corner, CONVFMT variable:
|
|
Strings And Numbers
|
|
dark corner, locale’s decimal point character:
|
|
Locale influences conversions
|
|
dark corner, regexp constants, /= operator and:
|
|
Assignment Ops
|
|
dark corner, /= operator vs. /=…/ regexp constant:
|
|
Assignment Ops
|
|
dark corner, "0" is actually true:
|
|
Truth Values
|
|
dark corner, range patterns, line continuation and:
|
|
Ranges
|
|
dark corner, break statement:
|
|
Break Statement
|
|
dark corner, continue statement:
|
|
Continue Statement
|
|
dark corner, exit statement:
|
|
Exit Statement
|
|
dark corner, value of ARGV[0]:
|
|
Auto-set
|
|
dark corner, FILENAME variable:
|
|
Auto-set
|
|
dark corner, FNR/NR variables:
|
|
Auto-set
|
|
dark corner, array subscripts:
|
|
Uninitialized Subscripts
|
|
dark corner, regexp as second argument to index():
|
|
String Functions
|
|
dark corner, length() function:
|
|
String Functions
|
|
dark corner, split() function:
|
|
String Functions
|
|
dark corner:
|
|
Glossary
|
|
data, fixed-width:
|
|
Constant Size
|
|
data-driven languages:
|
|
Basic High Level
|
|
database, users, reading:
|
|
Passwd Functions
|
|
database, group, reading:
|
|
Group Functions
|
|
date utility, GNU:
|
|
Time Functions
|
|
date utility, POSIX:
|
|
Time Functions
|
|
dates, converting to timestamps:
|
|
Time Functions
|
|
dates, information related to, localization:
|
|
Explaining gettext
|
|
Davies, Stephen:
|
|
Acknowledgments
|
|
Davies, Stephen:
|
|
Contributors
|
|
Day, Robert P.J.:
|
|
Acknowledgments
|
|
dcgettext() function (gawk):
|
|
I18N Functions
|
|
dcgettext() function (gawk):
|
|
Programmer i18n
|
|
dcgettext() function (gawk), portability and:
|
|
I18N Portability
|
|
dcngettext() function (gawk):
|
|
I18N Functions
|
|
dcngettext() function (gawk):
|
|
Programmer i18n
|
|
dcngettext() function (gawk), portability and:
|
|
I18N Portability
|
|
deadlocks:
|
|
Two-way I/O
|
|
debugger, capabilities:
|
|
Debugging Concepts
|
|
debugger, concepts:
|
|
Debugging Terms
|
|
debugger, how to start:
|
|
Debugger Invocation
|
|
debugger, prompt:
|
|
Debugger Invocation
|
|
debugger, setting a breakpoint:
|
|
Finding The Bug
|
|
debugger, commands, breakpoint:
|
|
Finding The Bug
|
|
debugger, commands, break:
|
|
Finding The Bug
|
|
debugger, commands, b (break):
|
|
Finding The Bug
|
|
debugger, running the program:
|
|
Finding The Bug
|
|
debugger, commands, run:
|
|
Finding The Bug
|
|
debugger, stack frames, showing:
|
|
Finding The Bug
|
|
debugger, commands, bt (backtrace):
|
|
Finding The Bug
|
|
debugger, commands, backtrace:
|
|
Finding The Bug
|
|
debugger, commands, print:
|
|
Finding The Bug
|
|
debugger, commands, p (print):
|
|
Finding The Bug
|
|
debugger, commands, n (next):
|
|
Finding The Bug
|
|
debugger, commands, next:
|
|
Finding The Bug
|
|
debugger, printing single array elements:
|
|
Finding The Bug
|
|
debugger, printing all array elements:
|
|
Finding The Bug
|
|
debugger, repeating commands:
|
|
List of Debugger Commands
|
|
debugger, commands, b (break):
|
|
Breakpoint Control
|
|
debugger, commands, break:
|
|
Breakpoint Control
|
|
debugger, commands, clear:
|
|
Breakpoint Control
|
|
debugger, commands, condition:
|
|
Breakpoint Control
|
|
debugger, commands, d (delete):
|
|
Breakpoint Control
|
|
debugger, commands, delete:
|
|
Breakpoint Control
|
|
debugger, commands, disable:
|
|
Breakpoint Control
|
|
debugger, commands, e (enable):
|
|
Breakpoint Control
|
|
debugger, commands, enable:
|
|
Breakpoint Control
|
|
debugger, commands, ignore:
|
|
Breakpoint Control
|
|
debugger, commands, t (tbreak):
|
|
Breakpoint Control
|
|
debugger, commands, tbreak:
|
|
Breakpoint Control
|
|
debugger, commands, commands:
|
|
Debugger Execution Control
|
|
debugger, commands, silent:
|
|
Debugger Execution Control
|
|
debugger, commands, end:
|
|
Debugger Execution Control
|
|
debugger, commands, c (continue):
|
|
Debugger Execution Control
|
|
debugger, commands, continue:
|
|
Debugger Execution Control
|
|
debugger, commands, finish:
|
|
Debugger Execution Control
|
|
debugger, commands, n (next):
|
|
Debugger Execution Control
|
|
debugger, commands, next:
|
|
Debugger Execution Control
|
|
debugger, commands, ni (nexti):
|
|
Debugger Execution Control
|
|
debugger, commands, nexti:
|
|
Debugger Execution Control
|
|
debugger, commands, return:
|
|
Debugger Execution Control
|
|
debugger, commands, r (run):
|
|
Debugger Execution Control
|
|
debugger, commands, run:
|
|
Debugger Execution Control
|
|
debugger, commands, s (step):
|
|
Debugger Execution Control
|
|
debugger, commands, step:
|
|
Debugger Execution Control
|
|
debugger, commands, si (stepi):
|
|
Debugger Execution Control
|
|
debugger, commands, stepi:
|
|
Debugger Execution Control
|
|
debugger, commands, u (until):
|
|
Debugger Execution Control
|
|
debugger, commands, until:
|
|
Debugger Execution Control
|
|
debugger, commands, display:
|
|
Viewing And Changing Data
|
|
debugger, commands, eval:
|
|
Viewing And Changing Data
|
|
debugger, commands, p (print):
|
|
Viewing And Changing Data
|
|
debugger, commands, print:
|
|
Viewing And Changing Data
|
|
debugger, commands, printf:
|
|
Viewing And Changing Data
|
|
debugger, commands, set:
|
|
Viewing And Changing Data
|
|
debugger, commands, w (watch):
|
|
Viewing And Changing Data
|
|
debugger, commands, watch:
|
|
Viewing And Changing Data
|
|
debugger, commands, undisplay:
|
|
Viewing And Changing Data
|
|
debugger, commands, unwatch:
|
|
Viewing And Changing Data
|
|
debugger, commands, bt (backtrace):
|
|
Execution Stack
|
|
debugger, commands, backtrace:
|
|
Execution Stack
|
|
debugger, commands, where (backtrace):
|
|
Execution Stack
|
|
debugger, commands, down:
|
|
Execution Stack
|
|
debugger, commands, f (frame):
|
|
Execution Stack
|
|
debugger, commands, frame:
|
|
Execution Stack
|
|
debugger, commands, up:
|
|
Execution Stack
|
|
debugger, commands, i (info):
|
|
Debugger Info
|
|
debugger, commands, info:
|
|
Debugger Info
|
|
debugger, commands, o (option):
|
|
Debugger Info
|
|
debugger, commands, option:
|
|
Debugger Info
|
|
debugger, options:
|
|
Debugger Info
|
|
debugger, history size:
|
|
Debugger Info
|
|
debugger, default list amount:
|
|
Debugger Info
|
|
debugger, prompt:
|
|
Debugger Info
|
|
debugger, history file:
|
|
Debugger Info
|
|
debugger, instruction tracing:
|
|
Debugger Info
|
|
debugger, save commands to a file:
|
|
Debugger Info
|
|
debugger, read commands from a file:
|
|
Debugger Info
|
|
debugger, commands, dump:
|
|
Miscellaneous Debugger Commands
|
|
debugger, commands, h (help):
|
|
Miscellaneous Debugger Commands
|
|
debugger, commands, help:
|
|
Miscellaneous Debugger Commands
|
|
debugger, commands, l (list):
|
|
Miscellaneous Debugger Commands
|
|
debugger, commands, list:
|
|
Miscellaneous Debugger Commands
|
|
debugger, commands, q (quit):
|
|
Miscellaneous Debugger Commands
|
|
debugger, commands, quit:
|
|
Miscellaneous Debugger Commands
|
|
debugger, commands, trace:
|
|
Miscellaneous Debugger Commands
|
|
debugger, command completion:
|
|
Readline Support
|
|
debugger, history expansion:
|
|
Readline Support
|
|
debugger, limitations:
|
|
Limitations
|
|
debugger, interaction with namespaces:
|
|
Namespace And Features
|
|
debugging, awk programs:
|
|
Debugger
|
|
debugging, example session:
|
|
Sample Debugging Session
|
|
debugging gawk, bug reports:
|
|
Bugs
|
|
decimal point character, locale specific:
|
|
Options
|
|
decrement operators:
|
|
Increment Ops
|
|
default keyword:
|
|
Switch Statement
|
|
Deifik, Scott:
|
|
Acknowledgments
|
|
Deifik, Scott:
|
|
Contributors
|
|
delete array:
|
|
Delete
|
|
delete breakpoint, at location:
|
|
Breakpoint Control
|
|
delete breakpoint, by number:
|
|
Breakpoint Control
|
|
delete debugger command:
|
|
Breakpoint Control
|
|
delete statement:
|
|
Delete
|
|
delete watchpoint:
|
|
Viewing And Changing Data
|
|
deleting, elements in arrays:
|
|
Delete
|
|
deleting, entire arrays:
|
|
Delete
|
|
Demaille, Akim:
|
|
Acknowledgments
|
|
describe call stack frame, in debugger:
|
|
Debugger Info
|
|
differences in awk and gawk, AWKPATH environment variable:
|
|
AWKPATH Variable
|
|
differences in awk and gawk, AWKLIBPATH environment variable:
|
|
AWKLIBPATH Variable
|
|
differences in awk and gawk, regular expressions:
|
|
Case-sensitivity
|
|
differences in awk and gawk, record separators:
|
|
awk split records
|
|
differences in awk and gawk, RS/RT variables:
|
|
awk split records
|
|
differences in awk and gawk, RS/RT variables:
|
|
gawk split records
|
|
differences in awk and gawk, strings, storing:
|
|
gawk split records
|
|
differences in awk and gawk, single-character fields:
|
|
Single Character Fields
|
|
differences in awk and gawk, RS/RT variables:
|
|
Multiple Line
|
|
differences in awk and gawk, getline command:
|
|
Getline
|
|
differences in awk and gawk, input/output operators:
|
|
Getline/Coprocess
|
|
differences in awk and gawk, implementation limitations:
|
|
Getline Notes
|
|
differences in awk and gawk, read timeouts:
|
|
Read Timeout
|
|
differences in awk and gawk, retrying input:
|
|
Retrying Input
|
|
differences in awk and gawk, command-line directories:
|
|
Command-line directories
|
|
differences in awk and gawk, print/printf statements:
|
|
Format Modifiers
|
|
differences in awk and gawk, input/output operators:
|
|
Redirection
|
|
differences in awk and gawk, implementation limitations:
|
|
Redirection
|
|
differences in awk and gawk, error messages:
|
|
Special FD
|
|
differences in awk and gawk, close() function:
|
|
Close Files And Pipes
|
|
differences in awk and gawk, close() function:
|
|
Close Files And Pipes
|
|
differences in awk and gawk, strings:
|
|
Scalar Constants
|
|
differences in awk and gawk, strings:
|
|
Scalar Constants
|
|
differences in awk and gawk, regexp constants:
|
|
Standard Regexp Constants
|
|
differences in awk and gawk, trunc-mod operation:
|
|
Arithmetic Ops
|
|
differences in awk and gawk, line continuations:
|
|
Conditional Exp
|
|
differences in awk and gawk, BEGIN/END patterns:
|
|
I/O And BEGIN/END
|
|
differences in awk and gawk, BEGINFILE/ENDFILE patterns:
|
|
BEGINFILE/ENDFILE
|
|
differences in awk and gawk, BINMODE variable:
|
|
User-modified
|
|
differences in awk and gawk, FIELDWIDTHS variable:
|
|
User-modified
|
|
differences in awk and gawk, FPAT variable:
|
|
User-modified
|
|
differences in awk and gawk, IGNORECASE variable:
|
|
User-modified
|
|
differences in awk and gawk, LINT variable:
|
|
User-modified
|
|
differences in awk and gawk, TEXTDOMAIN variable:
|
|
User-modified
|
|
differences in awk and gawk, ARGIND variable:
|
|
Auto-set
|
|
differences in awk and gawk, ERRNO variable:
|
|
Auto-set
|
|
differences in awk and gawk, FUNCTAB variable:
|
|
Auto-set
|
|
differences in awk and gawk, PROCINFO array:
|
|
Auto-set
|
|
differences in awk and gawk, RS/RT variables:
|
|
Auto-set
|
|
differences in awk and gawk, SYMTAB variable:
|
|
Auto-set
|
|
differences in awk and gawk, ARGC/ARGV variables:
|
|
ARGC and ARGV
|
|
differences in awk and gawk, array elements, deleting:
|
|
Delete
|
|
differences in awk and gawk, function arguments:
|
|
Calling Built-in
|
|
differences in awk and gawk, length() function:
|
|
String Functions
|
|
differences in awk and gawk, match() function:
|
|
String Functions
|
|
differences in awk and gawk, split() function:
|
|
String Functions
|
|
differences in awk and gawk, indirect function calls:
|
|
Indirect Calls
|
|
differences in awk and gawk, BINMODE variable:
|
|
PC Using
|
|
directories, searching, for source files:
|
|
AWKPATH Variable
|
|
directories, searching, for loadable extensions:
|
|
AWKLIBPATH Variable
|
|
directories, command-line:
|
|
Command-line directories
|
|
directories, searching, for source files:
|
|
Programs Exercises
|
|
disable breakpoint:
|
|
Breakpoint Control
|
|
disable debugger command:
|
|
Breakpoint Control
|
|
display debugger command:
|
|
Viewing And Changing Data
|
|
display debugger options:
|
|
Debugger Info
|
|
division:
|
|
Arithmetic Ops
|
|
do-while statement, use of regexps in:
|
|
Regexp Usage
|
|
do-while statement:
|
|
Do Statement
|
|
documentation, online:
|
|
Manual History
|
|
documentation, of awk programs:
|
|
Library Names
|
|
documents, searching:
|
|
Dupword Program
|
|
dollar sign ($), regexp operator:
|
|
Regexp Operator Details
|
|
dollar sign ($), $ field operator:
|
|
Fields
|
|
dollar sign ($), incrementing fields and arrays:
|
|
Increment Ops
|
|
dollar sign ($), $ field operator:
|
|
Precedence
|
|
double quote ("), in shell commands:
|
|
Quoting
|
|
double quote ("), in regexp constants:
|
|
Computed Regexps
|
|
double-precision:
|
|
Computer Arithmetic
|
|
down debugger command:
|
|
Execution Stack
|
|
Drepper, Ulrich:
|
|
Acknowledgments
|
|
Duman, Patrice:
|
|
Acknowledgments
|
|
dump all variables of a program:
|
|
Options
|
|
dump debugger command:
|
|
Miscellaneous Debugger Commands
|
|
dupword.awk program:
|
|
Dupword Program
|
|
dynamic profiling:
|
|
Profiling
|
|
dynamically loaded extensions:
|
|
Dynamic Extensions
|
|
|
|
|
E
|
|
|
|
|
e debugger command (alias for enable):
|
|
Breakpoint Control
|
|
EBCDIC:
|
|
Ordinal Functions
|
|
EBCDIC:
|
|
Ranges and Locales
|
|
EBCDIC:
|
|
History summary
|
|
effective group ID of gawk user:
|
|
Auto-set
|
|
effective user ID of gawk user:
|
|
Auto-set
|
|
egrep utility:
|
|
Bracket Expressions
|
|
egrep utility:
|
|
Egrep Program
|
|
egrep.awk program:
|
|
Egrep Program
|
|
elements in arrays:
|
|
Reference to Elements
|
|
elements in arrays, assigning values:
|
|
Assigning Elements
|
|
elements in arrays, scanning:
|
|
Scanning an Array
|
|
elements in arrays, order of access by in operator:
|
|
Scanning an Array
|
|
elements in arrays, deleting:
|
|
Delete
|
|
email address for bug reports, [email protected]:
|
|
Bug address
|
|
empty array elements:
|
|
Reference to Elements
|
|
empty pattern:
|
|
Empty
|
|
EMRED:
|
|
TCP/IP Networking
|
|
enable breakpoint:
|
|
Breakpoint Control
|
|
enable debugger command:
|
|
Breakpoint Control
|
|
end debugger command:
|
|
Debugger Execution Control
|
|
END pattern, Boolean patterns and:
|
|
Expression Patterns
|
|
END pattern:
|
|
BEGIN/END
|
|
END pattern:
|
|
Using BEGIN/END
|
|
END pattern, operators and:
|
|
Using BEGIN/END
|
|
END pattern, print statement and:
|
|
I/O And BEGIN/END
|
|
END pattern, next/nextfile statements and:
|
|
I/O And BEGIN/END
|
|
END pattern, next/nextfile statements and:
|
|
Next Statement
|
|
END pattern, exit statement and:
|
|
Exit Statement
|
|
END pattern, assert() user-defined function and:
|
|
Assert Function
|
|
END pattern, profiling and:
|
|
Profiling
|
|
END pattern, @namespace directive and:
|
|
Changing The Namespace
|
|
ENDFILE pattern, Boolean patterns and:
|
|
Expression Patterns
|
|
ENDFILE pattern:
|
|
BEGINFILE/ENDFILE
|
|
ENDFILE pattern, @namespace directive and:
|
|
Changing The Namespace
|
|
endfile() user-defined function:
|
|
Filetrans Function
|
|
endgrent() function (C library):
|
|
Group Functions
|
|
endgrent() user-defined function:
|
|
Group Functions
|
|
endpwent() function (C library):
|
|
Passwd Functions
|
|
endpwent() user-defined function:
|
|
Passwd Functions
|
|
English, Steve:
|
|
Advanced Features
|
|
ENVIRON array:
|
|
Auto-set
|
|
environment variables, POSIXLY_CORRECT:
|
|
Options
|
|
environment variables, used by gawk:
|
|
Environment Variables
|
|
environment variables, AWKPATH:
|
|
AWKPATH Variable
|
|
environment variables, AWKLIBPATH:
|
|
AWKLIBPATH Variable
|
|
environment variables, GAWK_READ_TIMEOUT:
|
|
Read Timeout
|
|
environment variables, GAWK_SOCK_RETRIES:
|
|
Nonfatal
|
|
environment variables, in ENVIRON array:
|
|
Auto-set
|
|
environment variables, LANGUAGE:
|
|
Explaining gettext
|
|
environment variables, GAWK_LOCALE_DIR:
|
|
Explaining gettext
|
|
environment variables, LANGUAGE:
|
|
I18N Example
|
|
environment variables, LC_ALL:
|
|
I18N Example
|
|
environment variables, LANG:
|
|
I18N Example
|
|
environment variables, LC_MESSAGES:
|
|
I18N Example
|
|
environment variables, AWKPATH:
|
|
PC Using
|
|
epoch, definition of:
|
|
Glossary
|
|
equals sign (=), = operator:
|
|
Assignment Ops
|
|
equals sign (=), == operator:
|
|
Comparison Operators
|
|
equals sign (=), == operator:
|
|
Precedence
|
|
EREs (Extended Regular Expressions):
|
|
Bracket Expressions
|
|
ERRNO variable, with getline command:
|
|
Getline
|
|
ERRNO variable, with close() function:
|
|
Close Files And Pipes
|
|
ERRNO variable, with BEGINFILE pattern:
|
|
BEGINFILE/ENDFILE
|
|
ERRNO variable:
|
|
Auto-set
|
|
ERRNO variable:
|
|
TCP/IP Networking
|
|
error handling:
|
|
Special FD
|
|
error handling, ERRNO variable and:
|
|
Auto-set
|
|
error output:
|
|
Special FD
|
|
escape processing, gsub()/gensub()/sub() functions:
|
|
Gory Details
|
|
escape sequences:
|
|
Escape Sequences
|
|
eval debugger command:
|
|
Viewing And Changing Data
|
|
evaluate expressions, in debugger:
|
|
Viewing And Changing Data
|
|
evaluation order, concatenation:
|
|
Concatenation
|
|
evaluation order:
|
|
Increment Ops
|
|
evaluation order, functions:
|
|
Calling Built-in
|
|
examining fields:
|
|
Fields
|
|
example debugging session:
|
|
Sample Debugging Session
|
|
exclamation point (!), !~ operator:
|
|
Regexp Usage
|
|
exclamation point (!), !~ operator:
|
|
Computed Regexps
|
|
exclamation point (!), !~ operator:
|
|
Case-sensitivity
|
|
exclamation point (!), !~ operator:
|
|
Regexp Constants
|
|
exclamation point (!), != operator:
|
|
Comparison Operators
|
|
exclamation point (!), !~ operator:
|
|
Comparison Operators
|
|
exclamation point (!), !~ operator:
|
|
Comparison Operators
|
|
exclamation point (!), ! operator:
|
|
Boolean Ops
|
|
exclamation point (!), ! operator:
|
|
Precedence
|
|
exclamation point (!), != operator:
|
|
Precedence
|
|
exclamation point (!), !~ operator:
|
|
Precedence
|
|
exclamation point (!), !~ operator:
|
|
Expression Patterns
|
|
exclamation point (!), ! operator:
|
|
Egrep Program
|
|
exit debugger command:
|
|
Miscellaneous Debugger Commands
|
|
exit statement:
|
|
Exit Statement
|
|
exit status, of gawk:
|
|
Exit Status
|
|
exit status, of gawk, on VMS:
|
|
VMS Running
|
|
exit the debugger:
|
|
Miscellaneous Debugger Commands
|
|
exit the debugger:
|
|
Miscellaneous Debugger Commands
|
|
exp() function:
|
|
Numeric Functions
|
|
expand utility:
|
|
Very Simple
|
|
Expat XML parser library:
|
|
gawkextlib
|
|
exponent:
|
|
Numeric Functions
|
|
expressions:
|
|
Expressions
|
|
expressions, assignment:
|
|
Assignment Ops
|
|
expressions, comparison:
|
|
Typing and Comparison
|
|
expressions, Boolean:
|
|
Boolean Ops
|
|
expressions, conditional:
|
|
Conditional Exp
|
|
expressions, selecting:
|
|
Conditional Exp
|
|
expressions, as patterns:
|
|
Expression Patterns
|
|
Extended Regular Expressions (EREs):
|
|
Bracket Expressions
|
|
extension API, version number:
|
|
Auto-set
|
|
extension API, interaction with namespaces:
|
|
Namespace And Features
|
|
extension API:
|
|
Extension API Description
|
|
extension API, version number:
|
|
Extension Versioning
|
|
extension API, informational variables:
|
|
Extension API Informational Variables
|
|
extensions, loadable, loading, @load directive:
|
|
Loading Shared Libraries
|
|
extensions, common, \x escape sequence:
|
|
Escape Sequences
|
|
extensions, common, RS as a regexp:
|
|
gawk split records
|
|
extensions, common, single character fields:
|
|
Single Character Fields
|
|
extensions, common, /dev/stdin special file:
|
|
Special FD
|
|
extensions, common, /dev/stdout special file:
|
|
Special FD
|
|
extensions, common, /dev/stderr special file:
|
|
Special FD
|
|
extensions, common, ** operator:
|
|
Arithmetic Ops
|
|
extensions, common, **= operator:
|
|
Assignment Ops
|
|
extensions, common, delete to delete entire arrays:
|
|
Delete
|
|
extensions, common, length() applied to an array:
|
|
String Functions
|
|
extensions, common, fflush() function:
|
|
I/O Functions
|
|
extensions, common, func keyword:
|
|
Definition Syntax
|
|
extensions, loadable, allocating memory:
|
|
Memory Allocation Functions
|
|
extensions, loadable, registration:
|
|
Registration Functions
|
|
extensions, loadable, array manipulation in:
|
|
Array Manipulation
|
|
extensions, loadable, search path:
|
|
Finding Extensions
|
|
extensions, loadable, example:
|
|
Extension Example
|
|
extensions, loadable, distributed with gawk:
|
|
Extension Samples
|
|
extensions, loadable, gawkextlib project:
|
|
gawkextlib
|
|
extensions, Brian Kernighan’s awk:
|
|
BTL
|
|
extensions, in gawk, not in POSIX awk:
|
|
POSIX/GNU
|
|
extensions, Brian Kernighan’s awk:
|
|
Common Extensions
|
|
extensions, mawk:
|
|
Common Extensions
|
|
extensions, common, BINMODE variable:
|
|
PC Using
|
|
extract.awk program:
|
|
Extract Program
|
|
extraction, of marked strings (internationalization):
|
|
String Extraction
|
|
|
|
|
F
|
|
|
|
|
f debugger command (alias for frame):
|
|
Execution Stack
|
|
false, logical:
|
|
Truth Values
|
|
FDL (Free Documentation License):
|
|
GNU Free Documentation License
|
|
features, deprecated:
|
|
Obsolete
|
|
features, undocumented:
|
|
Undocumented
|
|
features, adding to gawk:
|
|
Adding Code
|
|
Fenlason, Jay:
|
|
History
|
|
Fenlason, Jay:
|
|
Contributors
|
|
fflush() function:
|
|
I/O Functions
|
|
field numbers:
|
|
Nonconstant Fields
|
|
field operator $:
|
|
Fields
|
|
field operators, dollar sign as:
|
|
Fields
|
|
field separator:
|
|
Field Separators
|
|
field separator, choice of:
|
|
Field Separators
|
|
field separator, regular expression as:
|
|
Field Separators
|
|
field separator, whitespace as:
|
|
Default Field Splitting
|
|
field separator, FS variable and:
|
|
Default Field Splitting
|
|
field separator, regular expression as:
|
|
Regexp Field Splitting
|
|
field separator, on command line:
|
|
Command Line Field Separator
|
|
field separator, backslash (\) as:
|
|
Command Line Field Separator
|
|
field separator, POSIX and:
|
|
Full Line Fields
|
|
field separator, in multiline records:
|
|
Multiple Line
|
|
field separator, FIELDWIDTHS variable and:
|
|
User-modified
|
|
field separator, FPAT variable and:
|
|
User-modified
|
|
field separator:
|
|
User-modified
|
|
field separator:
|
|
User-modified
|
|
field separator, spaces as:
|
|
Cut Program
|
|
field separator:
|
|
Changing Fields
|
|
fields:
|
|
Reading Files
|
|
fields:
|
|
Fields
|
|
fields, examining:
|
|
Fields
|
|
fields, number of:
|
|
Fields
|
|
fields, numbers:
|
|
Nonconstant Fields
|
|
fields, changing contents of:
|
|
Changing Fields
|
|
fields, adding:
|
|
Changing Fields
|
|
fields, separating:
|
|
Field Separators
|
|
fields, separating:
|
|
Field Separators
|
|
fields, single-character:
|
|
Single Character Fields
|
|
fields, printing:
|
|
Print Examples
|
|
fields, cutting:
|
|
Cut Program
|
|
fields:
|
|
Basic High Level
|
|
FIELDWIDTHS variable:
|
|
Fixed width data
|
|
FIELDWIDTHS variable:
|
|
User-modified
|
|
file descriptors:
|
|
Special FD
|
|
file inclusion, @include directive:
|
|
Include Files
|
|
file names, standard streams in gawk:
|
|
Special FD
|
|
file names, in compatibility mode:
|
|
Special Caveats
|
|
file names, distinguishing:
|
|
Auto-set
|
|
file names, assignments as:
|
|
Ignoring Assigns
|
|
FILENAME variable:
|
|
Reading Files
|
|
FILENAME variable, getline, setting with:
|
|
Getline Notes
|
|
FILENAME variable:
|
|
Auto-set
|
|
files, input:
|
|
Read Terminal
|
|
files, awk programs in:
|
|
Long
|
|
files, awkvars.out:
|
|
Options
|
|
files, portable object, generating:
|
|
Options
|
|
files, multiple passes over:
|
|
Other Arguments
|
|
files, reading, multiline records:
|
|
Multiple Line
|
|
files, descriptors:
|
|
Special FD
|
|
files, /dev/… special files:
|
|
Special FD
|
|
files, output:
|
|
Close Files And Pipes
|
|
files, processing, ARGIND variable and:
|
|
Auto-set
|
|
files, closing:
|
|
I/O Functions
|
|
files, log, timestamps in:
|
|
Time Functions
|
|
files, managing:
|
|
Data File Management
|
|
files, managing, data file boundaries:
|
|
Filetrans Function
|
|
files, initialization and cleanup:
|
|
Filetrans Function
|
|
files, reading:
|
|
Rewind Function
|
|
files, skipping:
|
|
File Checking
|
|
files, password:
|
|
Passwd Functions
|
|
files, group:
|
|
Group Functions
|
|
files, searching for regular expressions:
|
|
Egrep Program
|
|
files, splitting:
|
|
Split Program
|
|
files, multiple, duplicating output into:
|
|
Tee Program
|
|
files, Texinfo, extracting programs from:
|
|
Extract Program
|
|
files, source, search path for:
|
|
Programs Exercises
|
|
files, /inet/… (gawk):
|
|
TCP/IP Networking
|
|
files, /inet4/… (gawk):
|
|
TCP/IP Networking
|
|
files, /inet6/… (gawk):
|
|
TCP/IP Networking
|
|
files, awkprof.out:
|
|
Profiling
|
|
files, .pot:
|
|
Explaining gettext
|
|
files, portable object, template file (.pot):
|
|
Explaining gettext
|
|
files, .po:
|
|
Explaining gettext
|
|
files, portable object:
|
|
Explaining gettext
|
|
files, .gmo:
|
|
Explaining gettext
|
|
files, message object:
|
|
Explaining gettext
|
|
files, .gmo, specifying directory of:
|
|
Explaining gettext
|
|
files, message object, specifying directory of:
|
|
Explaining gettext
|
|
files, .gmo, specifying directory of:
|
|
Programmer i18n
|
|
files, message object, specifying directory of:
|
|
Programmer i18n
|
|
files, .po:
|
|
Translator i18n
|
|
files, portable object:
|
|
Translator i18n
|
|
files, .po, converting to .mo:
|
|
I18N Example
|
|
files, .mo, converting from .po:
|
|
I18N Example
|
|
files, portable object, converting to message object files:
|
|
I18N Example
|
|
files, message object, converting from portable object files:
|
|
I18N Example
|
|
find substring in string:
|
|
String Functions
|
|
finding extensions:
|
|
Finding Extensions
|
|
finish debugger command:
|
|
Debugger Execution Control
|
|
Fish, Fred:
|
|
Contributors
|
|
fixed-width data:
|
|
Constant Size
|
|
flag variables:
|
|
Boolean Ops
|
|
flag variables:
|
|
Tee Program
|
|
floating-point, numbers, arbitrary-precision:
|
|
Arbitrary Precision Arithmetic
|
|
floating-point, numbers:
|
|
Computer Arithmetic
|
|
floating-point, numbers, single-precision:
|
|
Computer Arithmetic
|
|
floating-point, numbers, double-precision:
|
|
Computer Arithmetic
|
|
floating-point, numbers, arbitrary-precision:
|
|
Computer Arithmetic
|
|
floating-point, numbers, VAX/VMS:
|
|
VMS Running
|
|
flush buffered output:
|
|
I/O Functions
|
|
fnmatch() extension function:
|
|
Extension Sample Fnmatch
|
|
FNR variable:
|
|
Records
|
|
FNR variable:
|
|
Auto-set
|
|
FNR variable, changing:
|
|
Auto-set
|
|
for statement:
|
|
For Statement
|
|
for statement, looping over arrays:
|
|
Scanning an Array
|
|
fork() extension function:
|
|
Extension Sample Fork
|
|
format specifiers:
|
|
Basic Printf
|
|
format specifiers, printf statement:
|
|
Control Letters
|
|
format specifiers, strftime() function (gawk):
|
|
Time Functions
|
|
format specifiers, mixing regular with positional specifiers:
|
|
Printf Ordering
|
|
format time string:
|
|
Time Functions
|
|
formats, numeric output:
|
|
OFMT
|
|
formatting, output:
|
|
Printf
|
|
formatting, strings:
|
|
String Functions
|
|
forward slash (/), to enclose regular expressions:
|
|
Regexp
|
|
forward slash (/), /= operator:
|
|
Assignment Ops
|
|
forward slash (/), /= operator, vs. /=…/ regexp constant:
|
|
Assignment Ops
|
|
forward slash (/), / operator:
|
|
Precedence
|
|
forward slash (/), /= operator:
|
|
Precedence
|
|
forward slash (/), patterns and:
|
|
Expression Patterns
|
|
FPAT variable:
|
|
Splitting By Content
|
|
FPAT variable:
|
|
User-modified
|
|
frame debugger command:
|
|
Execution Stack
|
|
Free Documentation License (FDL):
|
|
GNU Free Documentation License
|
|
Free Software Foundation (FSF):
|
|
Manual History
|
|
Free Software Foundation (FSF):
|
|
Getting
|
|
Free Software Foundation (FSF):
|
|
Glossary
|
|
Free Software Foundation (FSF):
|
|
Glossary
|
|
FreeBSD:
|
|
Glossary
|
|
FS variable, --field-separator option and:
|
|
Options
|
|
FS variable, TAB character as:
|
|
Options
|
|
FS variable:
|
|
Field Separators
|
|
FS variable, changing value of:
|
|
Field Separators
|
|
FS variable, containing ^:
|
|
Regexp Field Splitting
|
|
FS variable, null string as:
|
|
Single Character Fields
|
|
FS variable, setting from command line:
|
|
Command Line Field Separator
|
|
FS variable, in multiline records:
|
|
Multiple Line
|
|
FS variable:
|
|
User-modified
|
|
FS variable, running awk programs and:
|
|
Cut Program
|
|
FSF (Free Software Foundation):
|
|
Manual History
|
|
FSF (Free Software Foundation):
|
|
Getting
|
|
FSF (Free Software Foundation):
|
|
Glossary
|
|
FSF (Free Software Foundation):
|
|
Glossary
|
|
fts() extension function:
|
|
Extension Sample File Functions
|
|
FUNCTAB array:
|
|
Auto-set
|
|
function arguments, show in debugger:
|
|
Debugger Info
|
|
function calls:
|
|
Function Calls
|
|
function calls, indirect:
|
|
Indirect Calls
|
|
function calls, indirect, @-notation for:
|
|
Indirect Calls
|
|
function definition example:
|
|
Function Example
|
|
function definitions, list in debugger:
|
|
Debugger Info
|
|
function pointers:
|
|
Indirect Calls
|
|
functions, built-in:
|
|
Function Calls
|
|
functions, user-defined, next/nextfile statements and:
|
|
Next Statement
|
|
functions, user-defined, next/nextfile statements and:
|
|
Nextfile Statement
|
|
functions, built-in:
|
|
Functions
|
|
functions, built-in, evaluation order:
|
|
Calling Built-in
|
|
functions, string-translation:
|
|
I18N Functions
|
|
functions, user-defined:
|
|
User-defined
|
|
functions, defining:
|
|
Definition Syntax
|
|
functions, names of:
|
|
Definition Syntax
|
|
functions, recursive:
|
|
Definition Syntax
|
|
functions, user-defined, calling:
|
|
Function Calling
|
|
functions, arrays as parameters to:
|
|
Pass By Value/Reference
|
|
functions, undefined:
|
|
Function Caveats
|
|
functions, library:
|
|
Library Functions
|
|
functions, user-defined, library of:
|
|
Library Functions
|
|
functions, library, associative arrays and:
|
|
Library Names
|
|
functions, library, assertions:
|
|
Assert Function
|
|
functions, library, rounding numbers:
|
|
Round Function
|
|
functions, library, Cliff random numbers:
|
|
Cliff Random Function
|
|
functions, library, character values as numbers:
|
|
Ordinal Functions
|
|
functions, library, merging arrays into strings:
|
|
Join Function
|
|
functions, library, managing time:
|
|
Getlocaltime Function
|
|
functions, library, managing data files:
|
|
Data File Management
|
|
functions, library, command-line options:
|
|
Getopt Function
|
|
functions, library, C library:
|
|
Getopt Function
|
|
functions, library, user database, reading:
|
|
Passwd Functions
|
|
functions, library, group database, reading:
|
|
Group Functions
|
|
functions, library, example program for using:
|
|
Igawk Program
|
|
functions, user-defined, counts, in a profile:
|
|
Profiling
|
|
|
|
|
G
|
|
|
|
|
G-d:
|
|
Acknowledgments
|
|
G., Daniel Richard:
|
|
Acknowledgments
|
|
G., Daniel Richard:
|
|
Maintainers
|
|
Garfinkle, Scott:
|
|
Contributors
|
|
gawk:
|
|
Preface
|
|
gawk, awk and:
|
|
Preface
|
|
gawk, uses for:
|
|
Preface
|
|
gawk, awk and:
|
|
This Manual
|
|
gawk, newlines in:
|
|
Statements/Lines
|
|
gawk, extensions, disabling:
|
|
Options
|
|
gawk, version of, printing information about:
|
|
Options
|
|
gawk, ARGIND variable in:
|
|
Other Arguments
|
|
gawk, PROCINFO array in:
|
|
Other Arguments
|
|
gawk, escape sequences:
|
|
Escape Sequences
|
|
gawk, escape sequences:
|
|
Escape Sequences
|
|
gawk, regular expressions, precedence:
|
|
Regexp Operator Details
|
|
gawk, interval expressions and:
|
|
Interval Expressions
|
|
gawk, character classes and:
|
|
Bracket Expressions
|
|
gawk, regular expressions, operators:
|
|
GNU Regexp Operators
|
|
gawk, word-boundary operator:
|
|
GNU Regexp Operators
|
|
gawk, command-line options, regular expressions and:
|
|
GNU Regexp Operators
|
|
gawk, regular expressions, case sensitivity:
|
|
Case-sensitivity
|
|
gawk, IGNORECASE variable in:
|
|
Case-sensitivity
|
|
gawk, RT variable in:
|
|
awk split records
|
|
gawk, RT variable in:
|
|
gawk split records
|
|
gawk, FIELDWIDTHS variable in:
|
|
Fixed width data
|
|
gawk, FPAT variable in:
|
|
Splitting By Content
|
|
gawk, splitting fields and:
|
|
Testing field creation
|
|
gawk, RT variable in:
|
|
Multiple Line
|
|
gawk, ERRNO variable in:
|
|
Getline
|
|
gawk, implementation issues, limits:
|
|
Getline Notes
|
|
gawk, format-control characters:
|
|
Control Letters
|
|
gawk, format-control characters:
|
|
Control Letters
|
|
gawk, implementation issues, pipes:
|
|
Redirection
|
|
gawk, file names in:
|
|
Special Files
|
|
gawk, ERRNO variable in:
|
|
Close Files And Pipes
|
|
gawk, octal numbers and:
|
|
Nondecimal-numbers
|
|
gawk, hexadecimal numbers and:
|
|
Nondecimal-numbers
|
|
gawk, regexp constants and:
|
|
Standard Regexp Constants
|
|
gawk, line continuation in:
|
|
Conditional Exp
|
|
gawk, ERRNO variable in:
|
|
BEGINFILE/ENDFILE
|
|
gawk, break statement in:
|
|
Break Statement
|
|
gawk, continue statement in:
|
|
Continue Statement
|
|
gawk, predefined variables and:
|
|
Built-in Variables
|
|
gawk, FIELDWIDTHS variable in:
|
|
User-modified
|
|
gawk, FPAT variable in:
|
|
User-modified
|
|
gawk, field separators and:
|
|
User-modified
|
|
gawk, IGNORECASE variable in:
|
|
User-modified
|
|
gawk, LINT variable in:
|
|
User-modified
|
|
gawk, TEXTDOMAIN variable in:
|
|
User-modified
|
|
gawk, ERRNO variable in:
|
|
Auto-set
|
|
gawk, FUNCTAB array in:
|
|
Auto-set
|
|
gawk, PROCINFO array in:
|
|
Auto-set
|
|
gawk, version of:
|
|
Auto-set
|
|
gawk, RT variable in:
|
|
Auto-set
|
|
gawk, SYMTAB array in:
|
|
Auto-set
|
|
gawk, IGNORECASE variable in:
|
|
Array Intro
|
|
gawk, function arguments and:
|
|
Calling Built-in
|
|
gawk, IGNORECASE variable in:
|
|
String Functions
|
|
gawk, timestamps:
|
|
Time Functions
|
|
gawk, PROCINFO array in:
|
|
Time Functions
|
|
gawk, bitwise operations in:
|
|
Bitwise Functions
|
|
gawk, string-translation functions:
|
|
I18N Functions
|
|
gawk, features, advanced:
|
|
Advanced Features
|
|
gawk, IGNORECASE variable in:
|
|
Array Sorting Functions
|
|
gawk, PROCINFO array in:
|
|
Two-way I/O
|
|
gawk, ERRNO variable in:
|
|
TCP/IP Networking
|
|
gawk, dynamic profiling:
|
|
Profiling
|
|
gawk, profiling programs:
|
|
Profiling
|
|
gawk, internationalization:
|
|
Internationalization
|
|
gawk, interpreter, adding code to:
|
|
Using Internal File Ops
|
|
gawk, list of contributors to:
|
|
Contributors
|
|
gawk, installing:
|
|
Installation
|
|
gawk, source code, obtaining:
|
|
Getting
|
|
gawk, distribution:
|
|
Distribution contents
|
|
gawk, configuring, options:
|
|
Additional Configuration Options
|
|
gawk, configuring:
|
|
Configuration Philosophy
|
|
gawk, MS-Windows version of:
|
|
PC Using
|
|
gawk, VMS version of:
|
|
VMS Installation
|
|
gawk, implementation issues:
|
|
Notes
|
|
gawk, implementation issues, downward compatibility:
|
|
Compatibility Mode
|
|
gawk, implementation issues, debugging:
|
|
Compatibility Mode
|
|
gawk, features, adding:
|
|
Adding Code
|
|
gawk, coding style in:
|
|
Adding Code
|
|
gawk:
|
|
Preface
|
|
gawkextlib project:
|
|
gawkextlib
|
|
gawklibpath_append shell function:
|
|
Shell Startup Files
|
|
gawklibpath_default shell function:
|
|
Shell Startup Files
|
|
gawklibpath_prepend shell function:
|
|
Shell Startup Files
|
|
gawkpath_append shell function:
|
|
Shell Startup Files
|
|
gawkpath_default shell function:
|
|
Shell Startup Files
|
|
gawkpath_prepend shell function:
|
|
Shell Startup Files
|
|
GAWK_LOCALE_DIR environment variable:
|
|
Explaining gettext
|
|
GAWK_READ_TIMEOUT environment variable:
|
|
Read Timeout
|
|
GAWK_SOCK_RETRIES environment variable:
|
|
Nonfatal
|
|
generate time values:
|
|
Time Functions
|
|
gensub() function (gawk):
|
|
Standard Regexp Constants
|
|
gensub() function (gawk):
|
|
String Functions
|
|
gensub() function (gawk), escape processing:
|
|
Gory Details
|
|
getaddrinfo() function (C library):
|
|
TCP/IP Networking
|
|
getgrent() function (C library):
|
|
Group Functions
|
|
getgrent() function (C library):
|
|
Group Functions
|
|
getgrent() user-defined function:
|
|
Group Functions
|
|
getgrent() user-defined function:
|
|
Group Functions
|
|
getgrgid() function (C library):
|
|
Group Functions
|
|
getgrgid() user-defined function:
|
|
Group Functions
|
|
getgrnam() function (C library):
|
|
Group Functions
|
|
getgrnam() user-defined function:
|
|
Group Functions
|
|
getgruser() function (C library):
|
|
Group Functions
|
|
getgruser() user-defined function:
|
|
Group Functions
|
|
getline command:
|
|
Reading Files
|
|
getline command, explicit input with:
|
|
Getline
|
|
getline command, return values:
|
|
Getline
|
|
getline command, into a variable:
|
|
Getline/Variable
|
|
getline command, from a file:
|
|
Getline/File
|
|
getline command, coprocesses, using from:
|
|
Getline/Coprocess
|
|
getline command, FILENAME variable and:
|
|
Getline Notes
|
|
getline command, variants:
|
|
Getline Summary
|
|
getline command, coprocesses, using from:
|
|
Close Files And Pipes
|
|
getline command, BEGINFILE/ENDFILE patterns and:
|
|
BEGINFILE/ENDFILE
|
|
getline command, _pw_init() function:
|
|
Passwd Functions
|
|
getline command, _gr_init() user-defined function:
|
|
Group Functions
|
|
getline command, deadlock and:
|
|
Two-way I/O
|
|
getlocaltime() user-defined function:
|
|
Getlocaltime Function
|
|
getopt() function (C library):
|
|
Getopt Function
|
|
getopt() user-defined function:
|
|
Getopt Function
|
|
getopt() user-defined function:
|
|
Getopt Function
|
|
getpwent() function (C library):
|
|
Passwd Functions
|
|
getpwent() function (C library):
|
|
Passwd Functions
|
|
getpwent() user-defined function:
|
|
Passwd Functions
|
|
getpwent() user-defined function:
|
|
Passwd Functions
|
|
getpwnam() function (C library):
|
|
Passwd Functions
|
|
getpwnam() user-defined function:
|
|
Passwd Functions
|
|
getpwuid() function (C library):
|
|
Passwd Functions
|
|
getpwuid() user-defined function:
|
|
Passwd Functions
|
|
gettext library:
|
|
Explaining gettext
|
|
gettext library, locale categories:
|
|
Explaining gettext
|
|
gettext() function (C library):
|
|
Explaining gettext
|
|
gettimeofday() extension function:
|
|
Extension Sample Time
|
|
git utility:
|
|
gawkextlib
|
|
git utility:
|
|
Other Versions
|
|
git utility:
|
|
Accessing The Source
|
|
git utility:
|
|
Adding Code
|
|
Git, use of for gawk source code:
|
|
Derived Files
|
|
global variables, show in debugger:
|
|
Debugger Info
|
|
GNITS mailing list:
|
|
Acknowledgments
|
|
GNU awk:
|
|
Preface
|
|
GNU Free Documentation License:
|
|
GNU Free Documentation License
|
|
GNU Lesser General Public License:
|
|
Glossary
|
|
GNU long options:
|
|
Command Line
|
|
GNU long options:
|
|
Options
|
|
GNU long options, printing list of:
|
|
Options
|
|
GNU Project:
|
|
Manual History
|
|
GNU Project:
|
|
Glossary
|
|
GNU/Linux:
|
|
Manual History
|
|
GNU/Linux:
|
|
I18N Example
|
|
GNU/Linux:
|
|
Glossary
|
|
Go implementation of awk:
|
|
Other Versions
|
|
goawk:
|
|
Other Versions
|
|
Gordon, Assaf:
|
|
Contributors
|
|
GPL (General Public License):
|
|
Manual History
|
|
GPL (General Public License), printing:
|
|
Options
|
|
GPL (General Public License):
|
|
Glossary
|
|
grcat program:
|
|
Group Functions
|
|
Grigera, Juan:
|
|
Contributors
|
|
group database, reading:
|
|
Group Functions
|
|
group file:
|
|
Group Functions
|
|
group ID of gawk user:
|
|
Auto-set
|
|
groups, information about:
|
|
Group Functions
|
|
gsub() function:
|
|
Standard Regexp Constants
|
|
gsub() function:
|
|
String Functions
|
|
gsub() function, arguments of:
|
|
String Functions
|
|
gsub() function, escape processing:
|
|
Gory Details
|
|
Guerrero, Juan Manuel:
|
|
Acknowledgments
|
|
Guerrero, Juan Manuel:
|
|
Contributors
|
|
Guerrero, Juan Manuel:
|
|
Maintainers
|
|
|
|
|
H
|
|
|
|
|
h debugger command (alias for help):
|
|
Miscellaneous Debugger Commands
|
|
Hankerson, Darrel:
|
|
Acknowledgments
|
|
Hankerson, Darrel:
|
|
Contributors
|
|
Haque, John:
|
|
Contributors
|
|
Hartholz, Marshall:
|
|
Acknowledgments
|
|
Hartholz, Elaine:
|
|
Acknowledgments
|
|
Hasegawa, Isamu:
|
|
Contributors
|
|
help debugger command:
|
|
Miscellaneous Debugger Commands
|
|
hexadecimal numbers:
|
|
Nondecimal-numbers
|
|
hexadecimal values, enabling interpretation of:
|
|
Options
|
|
history expansion, in debugger:
|
|
Readline Support
|
|
histsort.awk program:
|
|
History Sorting
|
|
Hughes, Phil:
|
|
Acknowledgments
|
|
HUP signal, for dynamic profiling:
|
|
Profiling
|
|
hyphen (-), file names beginning with:
|
|
Options
|
|
hyphen (-), -- end of options marker:
|
|
Options
|
|
hyphen (-), in bracket expressions:
|
|
Bracket Expressions
|
|
hyphen (-), -= operator:
|
|
Assignment Ops
|
|
hyphen (-), -- operator:
|
|
Increment Ops
|
|
hyphen (-), -- operator:
|
|
Precedence
|
|
hyphen (-), - operator:
|
|
Precedence
|
|
hyphen (-), - operator:
|
|
Precedence
|
|
hyphen (-), -= operator:
|
|
Precedence
|
|
|
|
|
I
|
|
|
|
|
i debugger command (alias for info):
|
|
Debugger Info
|
|
id utility:
|
|
Id Program
|
|
id.awk program:
|
|
Id Program
|
|
if statement, use of regexps in:
|
|
Regexp Usage
|
|
if statement, actions, changing:
|
|
Ranges
|
|
if statement:
|
|
If Statement
|
|
igawk.sh program:
|
|
Igawk Program
|
|
ignore breakpoint:
|
|
Breakpoint Control
|
|
ignore debugger command:
|
|
Breakpoint Control
|
|
IGNORECASE variable, with ~ and !~ operators:
|
|
Case-sensitivity
|
|
IGNORECASE variable:
|
|
User-modified
|
|
IGNORECASE variable, array indices and:
|
|
Array Intro
|
|
IGNORECASE variable, in example programs:
|
|
Library Functions
|
|
IGNORECASE variable, array sorting functions and:
|
|
Array Sorting Functions
|
|
Illumos, POSIX-compliant awk:
|
|
Other Versions
|
|
implementation issues, gawk, limits:
|
|
Getline Notes
|
|
implementation issues, gawk, limits:
|
|
Redirection
|
|
implementation issues, gawk:
|
|
Notes
|
|
implementation issues, gawk, debugging:
|
|
Compatibility Mode
|
|
implicit namespace:
|
|
Changing The Namespace
|
|
in operator:
|
|
Comparison Operators
|
|
in operator:
|
|
Precedence
|
|
in operator:
|
|
For Statement
|
|
in operator, testing if array element exists:
|
|
Reference to Elements
|
|
in operator, use in loops:
|
|
Scanning an Array
|
|
in operator, order of array access:
|
|
Scanning an Array
|
|
in operator, index existence in multidimensional arrays:
|
|
Multidimensional
|
|
@include directive:
|
|
Include Files
|
|
including files, @include directive:
|
|
Include Files
|
|
increment operators:
|
|
Increment Ops
|
|
index() function:
|
|
String Functions
|
|
indexing arrays:
|
|
Array Intro
|
|
indirect function calls:
|
|
Indirect Calls
|
|
indirect function calls, @-notation:
|
|
Indirect Calls
|
|
infinite precision:
|
|
Arbitrary Precision Arithmetic
|
|
info debugger command:
|
|
Debugger Info
|
|
initialization, automatic:
|
|
More Complex
|
|
inplace extension:
|
|
Extension Sample Inplace
|
|
input, standard:
|
|
Read Terminal
|
|
input, splitting into records:
|
|
Records
|
|
input, multiline records:
|
|
Multiple Line
|
|
input, explicit:
|
|
Getline
|
|
input, standard:
|
|
Special FD
|
|
input, data, nondecimal:
|
|
Nondecimal Data
|
|
input files, running awk without:
|
|
Read Terminal
|
|
input files, running awk without:
|
|
Read Terminal
|
|
input files, examples:
|
|
Sample Data Files
|
|
input files, variable assignments and:
|
|
Other Arguments
|
|
input files, reading:
|
|
Reading Files
|
|
input files:
|
|
Reading Files
|
|
input files, closing:
|
|
Close Files And Pipes
|
|
input files, counting elements in:
|
|
Wc Program
|
|
input pipeline:
|
|
Getline/Pipe
|
|
input record, length of:
|
|
String Functions
|
|
input redirection:
|
|
Getline/File
|
|
input/output, from BEGIN and END:
|
|
I/O And BEGIN/END
|
|
input/output, binary:
|
|
User-modified
|
|
input/output, functions:
|
|
I/O Functions
|
|
input/output, two-way:
|
|
Two-way I/O
|
|
insomnia, cure for:
|
|
Alarm Program
|
|
installing gawk:
|
|
Installation
|
|
installing gawk, MS-Windows:
|
|
PC Binary Installation
|
|
installing gawk, Cygwin:
|
|
Cygwin
|
|
installing gawk, VMS:
|
|
VMS Installation
|
|
instruction tracing, in debugger:
|
|
Debugger Info
|
|
INT signal (MS-Windows):
|
|
Profiling
|
|
int() function:
|
|
Numeric Functions
|
|
integer array indices:
|
|
Numeric Array Subscripts
|
|
integers, unsigned:
|
|
Computer Arithmetic
|
|
integers, arbitrary precision:
|
|
Arbitrary Precision Integers
|
|
interacting with other programs:
|
|
I/O Functions
|
|
internationalization, localization, character classes:
|
|
Bracket Expressions
|
|
internationalization, localization:
|
|
User-modified
|
|
internationalization:
|
|
I18N Functions
|
|
internationalization, localization:
|
|
Internationalization
|
|
internationalization, localization, gawk and:
|
|
Internationalization
|
|
internationalization:
|
|
I18N and L10N
|
|
internationalization, localization:
|
|
I18N and L10N
|
|
internationalization, localization, locale categories:
|
|
Explaining gettext
|
|
internationalization, localization, monetary information:
|
|
Explaining gettext
|
|
internationalization, localization, currency symbols:
|
|
Explaining gettext
|
|
internationalization, localization, marked strings:
|
|
Programmer i18n
|
|
internationalization, localization, portability and:
|
|
I18N Portability
|
|
internationalizing a program:
|
|
Explaining gettext
|
|
interpreted programs:
|
|
Basic High Level
|
|
interpreted programs:
|
|
Glossary
|
|
interval expressions, regexp operator:
|
|
Regexp Operator Details
|
|
inventory-shipped file:
|
|
Sample Data Files
|
|
invoke shell command:
|
|
I/O Functions
|
|
isarray() function (gawk):
|
|
Type Functions
|
|
ISO, ISO 8601 date and time standard:
|
|
Time Functions
|
|
ISO, ISO 8859-1 character set:
|
|
Glossary
|
|
ISO, ISO Latin-1 character set:
|
|
Glossary
|
|
ISO:
|
|
Glossary
|
|
|
|
|
J
|
|
|
|
|
Jacobs, Andrew:
|
|
Passwd Functions
|
|
Jaegermann, Michal:
|
|
Acknowledgments
|
|
Jaegermann, Michal:
|
|
Contributors
|
|
Jannick:
|
|
Contributors
|
|
Java implementation of awk:
|
|
Other Versions
|
|
Java programming language:
|
|
Glossary
|
|
jawk:
|
|
Other Versions
|
|
jedi knights:
|
|
Undocumented
|
|
Johansen, Chris:
|
|
Signature Program
|
|
join() user-defined function:
|
|
Join Function
|
|
|
|
|
K
|
|
|
|
|
Kahrs, Jürgen:
|
|
Acknowledgments
|
|
Kahrs, Jürgen:
|
|
Contributors
|
|
Kasal, Stepan:
|
|
Acknowledgments
|
|
Kenobi, Obi-Wan:
|
|
Undocumented
|
|
Kernighan, Brian:
|
|
History
|
|
Kernighan, Brian:
|
|
Conventions
|
|
Kernighan, Brian:
|
|
Acknowledgments
|
|
Kernighan, Brian:
|
|
Getline/Pipe
|
|
Kernighan, Brian:
|
|
Concatenation
|
|
Kernighan, Brian:
|
|
Library Functions
|
|
Kernighan, Brian:
|
|
BTL
|
|
Kernighan, Brian:
|
|
Contributors
|
|
Kernighan, Brian:
|
|
Other Versions
|
|
Kernighan, Brian:
|
|
Basic Data Typing
|
|
Kernighan, Brian:
|
|
Glossary
|
|
kill command, dynamic profiling:
|
|
Profiling
|
|
knights, jedi:
|
|
Undocumented
|
|
Kwok, Conrad:
|
|
Contributors
|
|
|
|
|
L
|
|
|
|
|
l debugger command (alias for list):
|
|
Miscellaneous Debugger Commands
|
|
labels.awk program:
|
|
Labels Program
|
|
LANG environment variable:
|
|
I18N Example
|
|
Langston, Peter:
|
|
Advanced Features
|
|
LANGUAGE environment variable:
|
|
Explaining gettext
|
|
LANGUAGE environment variable:
|
|
I18N Example
|
|
languages, data-driven:
|
|
Basic High Level
|
|
LC_ALL environment variable:
|
|
I18N Example
|
|
LC_ALL locale category:
|
|
Explaining gettext
|
|
LC_COLLATE locale category:
|
|
Explaining gettext
|
|
LC_CTYPE locale category:
|
|
Explaining gettext
|
|
LC_MESSAGES environment variable:
|
|
I18N Example
|
|
LC_MESSAGES locale category:
|
|
Explaining gettext
|
|
LC_MESSAGES locale category, bindtextdomain() function (gawk):
|
|
Programmer i18n
|
|
LC_MONETARY locale category:
|
|
Explaining gettext
|
|
LC_NUMERIC locale category:
|
|
Explaining gettext
|
|
LC_TIME locale category:
|
|
Explaining gettext
|
|
left angle bracket (:
|
|
Getline/File
|
|
left angle bracket (:
|
|
Comparison Operators
|
|
left angle bracket (:
|
|
Comparison Operators
|
|
left angle bracket (:
|
|
Precedence
|
|
left angle bracket (:
|
|
Precedence
|
|
left shift, bitwise:
|
|
Bitwise Functions
|
|
leftmost longest match:
|
|
Multiple Line
|
|
length of input record:
|
|
String Functions
|
|
length of string:
|
|
String Functions
|
|
length() function:
|
|
String Functions
|
|
Lesser General Public License (LGPL):
|
|
Glossary
|
|
LGPL (Lesser General Public License):
|
|
Glossary
|
|
libmawk:
|
|
Other Versions
|
|
libraries of awk functions:
|
|
Library Functions
|
|
libraries of awk functions, associative arrays and:
|
|
Library Names
|
|
libraries of awk functions, assertions:
|
|
Assert Function
|
|
libraries of awk functions, rounding numbers:
|
|
Round Function
|
|
libraries of awk functions, character values as numbers:
|
|
Ordinal Functions
|
|
libraries of awk functions, merging arrays into strings:
|
|
Join Function
|
|
libraries of awk functions, managing, time:
|
|
Getlocaltime Function
|
|
libraries of awk functions, managing, data files:
|
|
Data File Management
|
|
libraries of awk functions, command-line options:
|
|
Getopt Function
|
|
libraries of awk functions, user database, reading:
|
|
Passwd Functions
|
|
libraries of awk functions, group database, reading:
|
|
Group Functions
|
|
libraries of awk functions, example program for using:
|
|
Igawk Program
|
|
line breaks:
|
|
Statements/Lines
|
|
line continuations, with C shell:
|
|
More Complex
|
|
line continuations, in print statement:
|
|
Print Examples
|
|
line continuations:
|
|
Boolean Ops
|
|
line continuations, gawk:
|
|
Conditional Exp
|
|
lines, blank, printing:
|
|
Print
|
|
lines, matching ranges of:
|
|
Ranges
|
|
lines, skipping between markers:
|
|
Ranges
|
|
lines, counting:
|
|
Wc Program
|
|
lines, duplicate, removing:
|
|
History Sorting
|
|
lint checking, empty programs:
|
|
Command Line
|
|
lint checking, issuing warnings:
|
|
Options
|
|
lint checking, POSIXLY_CORRECT environment variable:
|
|
Options
|
|
lint checking:
|
|
User-modified
|
|
lint checking, array subscripts:
|
|
Uninitialized Subscripts
|
|
lint checking, array subscripts:
|
|
Delete
|
|
lint checking, undefined functions:
|
|
Function Caveats
|
|
LINT variable:
|
|
User-modified
|
|
list all global variables, in debugger:
|
|
Debugger Info
|
|
list debugger command:
|
|
Miscellaneous Debugger Commands
|
|
list function definitions, in debugger:
|
|
Debugger Info
|
|
@load directive:
|
|
Loading Shared Libraries
|
|
loading extensions:
|
|
Options
|
|
loading extensions, @load directive:
|
|
Loading Shared Libraries
|
|
local variables, in a function:
|
|
Variable Scope
|
|
local variables, show in debugger:
|
|
Debugger Info
|
|
locale categories:
|
|
Explaining gettext
|
|
locale decimal point character:
|
|
Options
|
|
locale, definition of:
|
|
Locales
|
|
log files, timestamps in:
|
|
Time Functions
|
|
log() function:
|
|
Numeric Functions
|
|
logarithm:
|
|
Numeric Functions
|
|
logical false/true:
|
|
Truth Values
|
|
login information:
|
|
Passwd Functions
|
|
long options:
|
|
Command Line
|
|
loops:
|
|
While Statement
|
|
loops, while:
|
|
While Statement
|
|
loops, do-while:
|
|
Do Statement
|
|
loops, for, iterative:
|
|
For Statement
|
|
loops, continue statement and:
|
|
For Statement
|
|
loops, exiting:
|
|
Break Statement
|
|
loops, break statement and:
|
|
Break Statement
|
|
loops, for, array scanning:
|
|
Scanning an Array
|
|
loops, count for header, in a profile:
|
|
Profiling
|
|
loops:
|
|
While Statement
|
|
ls utility:
|
|
More Complex
|
|
lshift() function (gawk):
|
|
Bitwise Functions
|
|
lvalues/rvalues:
|
|
Assignment Ops
|
|
|
|
|
M
|
|
|
|
|
mail-list file:
|
|
Sample Data Files
|
|
mailing labels, printing:
|
|
Labels Program
|
|
mailing list, GNITS:
|
|
Acknowledgments
|
|
Malmberg, John:
|
|
Acknowledgments
|
|
Malmberg, John:
|
|
Contributors
|
|
Malmberg, John:
|
|
Maintainers
|
|
mark parity:
|
|
Ordinal Functions
|
|
marked string extraction (internationalization):
|
|
String Extraction
|
|
Marx, Groucho:
|
|
Increment Ops
|
|
match regexp in string:
|
|
String Functions
|
|
match() function:
|
|
String Functions
|
|
match() function, RSTART/RLENGTH variables:
|
|
String Functions
|
|
match() function, side effects:
|
|
String Functions
|
|
matching, leftmost longest:
|
|
Multiple Line
|
|
matching, expressions:
|
|
Typing and Comparison
|
|
matching, null strings:
|
|
String Functions
|
|
mawk utility:
|
|
Escape Sequences
|
|
mawk utility:
|
|
Getline/Pipe
|
|
mawk utility:
|
|
Concatenation
|
|
mawk utility:
|
|
Nextfile Statement
|
|
mawk utility:
|
|
Other Versions
|
|
maximum precision supported by MPFR library:
|
|
Auto-set
|
|
McIlroy, Doug:
|
|
Glossary
|
|
McPhee, Patrick T.J.:
|
|
Contributors
|
|
memory, allocating for extensions:
|
|
Memory Allocation Functions
|
|
message object files:
|
|
Explaining gettext
|
|
message object files, specifying directory of:
|
|
Explaining gettext
|
|
message object files, specifying directory of:
|
|
Programmer i18n
|
|
message object files, converting from portable object files:
|
|
I18N Example
|
|
messages from extensions:
|
|
Printing Messages
|
|
metacharacters, escape sequences for:
|
|
Escape Sequences
|
|
metacharacters, in regular expressions:
|
|
Regexp Operators
|
|
minimum precision required by MPFR library:
|
|
Auto-set
|
|
mktime() function (gawk):
|
|
Time Functions
|
|
modifiers, in format specifiers:
|
|
Format Modifiers
|
|
module, definition of:
|
|
Global Namespace
|
|
monetary information, localization:
|
|
Explaining gettext
|
|
Moore, Duncan:
|
|
Getline Notes
|
|
MPFR, checking for:
|
|
Checking for MPFR
|
|
msgfmt utility:
|
|
I18N Example
|
|
multiple precision:
|
|
Arbitrary Precision Arithmetic
|
|
multiple-line records:
|
|
Multiple Line
|
|
|
|
|
N
|
|
|
|
|
n debugger command (alias for next):
|
|
Debugger Execution Control
|
|
name management:
|
|
Internal Name Management
|
|
names, functions:
|
|
Definition Syntax
|
|
names, arrays/variables:
|
|
Library Names
|
|
names, functions:
|
|
Library Names
|
|
namespace, definition of:
|
|
Global Namespace
|
|
namespace, standard awk, global:
|
|
Global Namespace
|
|
namespace, default:
|
|
Default Namespace
|
|
namespace, awk:
|
|
Default Namespace
|
|
namespace, implicit:
|
|
Changing The Namespace
|
|
namespace, pushing and popping:
|
|
Changing The Namespace
|
|
namespace, example code:
|
|
Namespace Example
|
|
@namespace directive:
|
|
Changing The Namespace
|
|
@namespace directive:
|
|
Changing The Namespace
|
|
namespaces, qualified names:
|
|
Qualified Names
|
|
namespaces, changing:
|
|
Changing The Namespace
|
|
namespaces, naming rules:
|
|
Naming Rules
|
|
namespaces, interaction with, profiler:
|
|
Namespace And Features
|
|
namespaces, interaction with, pretty printer:
|
|
Namespace And Features
|
|
namespaces, interaction with, debugger:
|
|
Namespace And Features
|
|
namespaces, interaction with, extension API:
|
|
Namespace And Features
|
|
namespaces, backwards compatibility:
|
|
Namespace Summary
|
|
naming issues, functions:
|
|
Definition Syntax
|
|
naming issues:
|
|
Library Names
|
|
naming rules, namespace and component names:
|
|
Naming Rules
|
|
Neacsu, Mircea:
|
|
Other Versions
|
|
NetBSD:
|
|
Glossary
|
|
networks, support for:
|
|
Special Network
|
|
networks, programming:
|
|
TCP/IP Networking
|
|
newlines:
|
|
Statements/Lines
|
|
newlines:
|
|
Options
|
|
newlines, in dynamic regexps:
|
|
Computed Regexps
|
|
newlines, in regexp constants:
|
|
Computed Regexps
|
|
newlines, as record separators:
|
|
awk split records
|
|
newlines, printing:
|
|
Print Examples
|
|
newlines:
|
|
Boolean Ops
|
|
newlines, separating statements in actions:
|
|
Action Overview
|
|
newlines, separating statements in actions:
|
|
Statements
|
|
next debugger command:
|
|
Debugger Execution Control
|
|
next file statement:
|
|
Feature History
|
|
next statement:
|
|
Boolean Ops
|
|
next statement, BEGIN/END patterns and:
|
|
I/O And BEGIN/END
|
|
next statement, BEGINFILE/ENDFILE patterns and:
|
|
BEGINFILE/ENDFILE
|
|
next statement:
|
|
Next Statement
|
|
next statement, user-defined functions and:
|
|
Next Statement
|
|
nextfile statement, BEGIN/END patterns and:
|
|
I/O And BEGIN/END
|
|
nextfile statement, BEGINFILE/ENDFILE patterns and:
|
|
BEGINFILE/ENDFILE
|
|
nextfile statement:
|
|
Nextfile Statement
|
|
nextfile statement, user-defined functions and:
|
|
Nextfile Statement
|
|
nexti debugger command:
|
|
Debugger Execution Control
|
|
NF variable:
|
|
Fields
|
|
NF variable, decrementing:
|
|
Changing Fields
|
|
NF variable:
|
|
Auto-set
|
|
ni debugger command (alias for nexti):
|
|
Debugger Execution Control
|
|
noassign.awk program:
|
|
Ignoring Assigns
|
|
non-existent array elements:
|
|
Reference to Elements
|
|
not Boolean-logic operator:
|
|
Boolean Ops
|
|
NR variable:
|
|
Records
|
|
NR variable:
|
|
Auto-set
|
|
NR variable, changing:
|
|
Auto-set
|
|
null strings, in gawk arguments, quoting and:
|
|
Quoting
|
|
null strings:
|
|
awk split records
|
|
null strings:
|
|
Regexp Field Splitting
|
|
null strings, converting numbers to strings:
|
|
Strings And Numbers
|
|
null strings:
|
|
Truth Values
|
|
null strings, as array subscripts:
|
|
Uninitialized Subscripts
|
|
null strings, deleting array elements and:
|
|
Delete
|
|
null strings, matching:
|
|
String Functions
|
|
null strings:
|
|
Basic Data Typing
|
|
number of array elements:
|
|
String Functions
|
|
number sign (#), #! (executable scripts):
|
|
Executable Scripts
|
|
number sign (#), commenting:
|
|
Comments
|
|
numbers, octal:
|
|
Nondecimal-numbers
|
|
numbers, hexadecimal:
|
|
Nondecimal-numbers
|
|
numbers, converting:
|
|
Strings And Numbers
|
|
numbers, converting, to strings:
|
|
User-modified
|
|
numbers, converting, to strings:
|
|
User-modified
|
|
numbers, as array subscripts:
|
|
Numeric Array Subscripts
|
|
numbers, converting:
|
|
Bitwise Functions
|
|
numbers, as string of bits:
|
|
Bitwise Functions
|
|
numbers, rounding:
|
|
Round Function
|
|
numbers, Cliff random:
|
|
Cliff Random Function
|
|
numbers, as values of characters:
|
|
Ordinal Functions
|
|
numeric, output format:
|
|
OFMT
|
|
numeric, constants:
|
|
Scalar Constants
|
|
numeric, strings:
|
|
Variable Typing
|
|
numeric, functions:
|
|
Numeric Functions
|
|
|
|
|
O
|
|
|
|
|
o debugger command (alias for option):
|
|
Debugger Info
|
|
obsolete features:
|
|
Obsolete
|
|
octal numbers:
|
|
Nondecimal-numbers
|
|
octal values, enabling interpretation of:
|
|
Options
|
|
OFMT variable:
|
|
OFMT
|
|
OFMT variable, POSIX awk and:
|
|
OFMT
|
|
OFMT variable:
|
|
Strings And Numbers
|
|
OFMT variable:
|
|
User-modified
|
|
OFS variable:
|
|
Changing Fields
|
|
OFS variable:
|
|
Output Separators
|
|
OFS variable:
|
|
User-modified
|
|
OpenBSD:
|
|
Glossary
|
|
OpenSolaris:
|
|
Other Versions
|
|
operating systems, BSD-based:
|
|
Manual History
|
|
operating systems:
|
|
Installation
|
|
operating systems, PC, gawk on, installing:
|
|
PC Installation
|
|
operating systems, PC, gawk on:
|
|
PC Using
|
|
operating systems, porting gawk to:
|
|
New Ports
|
|
operations, bitwise:
|
|
Bitwise Functions
|
|
operators, string-matching:
|
|
Regexp Usage
|
|
operators, GNU-specific:
|
|
GNU Regexp Operators
|
|
operators, string-matching, for buffers:
|
|
GNU Regexp Operators
|
|
operators, word-boundary (gawk):
|
|
GNU Regexp Operators
|
|
operators, input/output:
|
|
Getline/File
|
|
operators, input/output:
|
|
Getline/Pipe
|
|
operators, input/output:
|
|
Getline/Coprocess
|
|
operators, input/output:
|
|
Redirection
|
|
operators, input/output:
|
|
Redirection
|
|
operators, arithmetic:
|
|
Arithmetic Ops
|
|
operators, string:
|
|
Concatenation
|
|
operators, assignment:
|
|
Assignment Ops
|
|
operators, assignment:
|
|
Assignment Ops
|
|
operators, assignment, evaluation order:
|
|
Assignment Ops
|
|
operators, decrement/increment:
|
|
Increment Ops
|
|
operators, precedence of:
|
|
Increment Ops
|
|
operators, comparison:
|
|
Comparison Operators
|
|
operators, short-circuit:
|
|
Boolean Ops
|
|
operators, precedence of:
|
|
Precedence
|
|
operators, input/output:
|
|
Precedence
|
|
operators, input/output:
|
|
Precedence
|
|
operators, input/output:
|
|
Precedence
|
|
option debugger command:
|
|
Debugger Info
|
|
options, command-line, invoking awk:
|
|
Command Line
|
|
options, long:
|
|
Command Line
|
|
options, command-line:
|
|
Options
|
|
options, long:
|
|
Options
|
|
options, command-line, end of:
|
|
Options
|
|
options, printing list of:
|
|
Options
|
|
options, deprecated:
|
|
Obsolete
|
|
options, command-line, processing:
|
|
Getopt Function
|
|
OR bitwise operation:
|
|
Bitwise Functions
|
|
or Boolean-logic operator:
|
|
Boolean Ops
|
|
or() function (gawk):
|
|
Bitwise Functions
|
|
ord() extension function:
|
|
Extension Sample Ord
|
|
ord() user-defined function:
|
|
Ordinal Functions
|
|
order of evaluation, concatenation:
|
|
Concatenation
|
|
ORS variable:
|
|
Output Separators
|
|
ORS variable:
|
|
User-modified
|
|
output, records:
|
|
Output Separators
|
|
output, format specifier, OFMT:
|
|
OFMT
|
|
output, formatted:
|
|
Printf
|
|
output, pipes:
|
|
Redirection
|
|
output, standard:
|
|
Special FD
|
|
output, files, closing:
|
|
Close Files And Pipes
|
|
output, buffering:
|
|
I/O Functions
|
|
output, buffering:
|
|
I/O Functions
|
|
output, duplicating into files:
|
|
Tee Program
|
|
output field separator:
|
|
Changing Fields
|
|
output record separator:
|
|
Output Separators
|
|
output redirection:
|
|
Redirection
|
|
output wrapper:
|
|
Output Wrappers
|
|
|
|
|
P
|
|
|
|
|
p debugger command (alias for print):
|
|
Viewing And Changing Data
|
|
package, definition of:
|
|
Global Namespace
|
|
Papadopoulos, Panos:
|
|
Contributors
|
|
parent process ID of gawk process:
|
|
Auto-set
|
|
parentheses (), regexp operator:
|
|
Regexp Operator Details
|
|
parentheses (), in a profile:
|
|
Profiling
|
|
password file:
|
|
Passwd Functions
|
|
patsplit() function (gawk):
|
|
String Functions
|
|
patterns, default:
|
|
Very Simple
|
|
patterns, regexp constants as:
|
|
Regexp Usage
|
|
patterns:
|
|
Patterns and Actions
|
|
patterns, types of:
|
|
Pattern Overview
|
|
patterns, regexp constants as:
|
|
Regexp Patterns
|
|
patterns, expressions as:
|
|
Expression Patterns
|
|
patterns, comparison expressions as:
|
|
Expression Patterns
|
|
patterns, regexp constants as:
|
|
Expression Patterns
|
|
patterns, Boolean expressions as:
|
|
Expression Patterns
|
|
patterns, ranges in:
|
|
Ranges
|
|
patterns, empty:
|
|
Empty
|
|
patterns, counts, in a profile:
|
|
Profiling
|
|
pawk (profiling version of Brian Kernighan’s awk):
|
|
Other Versions
|
|
pawk, awk-like facilities for Python:
|
|
Other Versions
|
|
PC operating systems, gawk on, installing:
|
|
PC Installation
|
|
PC operating systems, gawk on:
|
|
PC Using
|
|
percent sign (%), %= operator:
|
|
Assignment Ops
|
|
percent sign (%), % operator:
|
|
Precedence
|
|
percent sign (%), %= operator:
|
|
Precedence
|
|
period (.), regexp operator:
|
|
Regexp Operator Details
|
|
Perl:
|
|
Future Extensions
|
|
Peters, Arno:
|
|
Contributors
|
|
Peterson, Hal:
|
|
Contributors
|
|
pipe, input:
|
|
Getline/Pipe
|
|
pipe, output:
|
|
Redirection
|
|
pipe, closing:
|
|
Close Files And Pipes
|
|
platform running on:
|
|
Auto-set
|
|
Plauger, P.J.:
|
|
Library Functions
|
|
plug-in:
|
|
Extension Intro
|
|
plus sign (+), regexp operator:
|
|
Regexp Operator Details
|
|
plus sign (+), += operator:
|
|
Assignment Ops
|
|
plus sign (+), ++ operator:
|
|
Increment Ops
|
|
plus sign (+), ++ operator:
|
|
Increment Ops
|
|
plus sign (+), ++ operator:
|
|
Precedence
|
|
plus sign (+), + operator:
|
|
Precedence
|
|
plus sign (+), + operator:
|
|
Precedence
|
|
plus sign (+), += operator:
|
|
Precedence
|
|
pointers to functions:
|
|
Indirect Calls
|
|
portability, #! (executable scripts):
|
|
Executable Scripts
|
|
portability, ARGV variable:
|
|
Executable Scripts
|
|
portability, backslash continuation and:
|
|
Statements/Lines
|
|
portability, POSIXLY_CORRECT environment variable:
|
|
Options
|
|
portability:
|
|
Escape Sequences
|
|
portability, backslash in escape sequences:
|
|
Escape Sequences
|
|
portability, data files as single record:
|
|
gawk split records
|
|
portability, NF variable, decrementing:
|
|
Changing Fields
|
|
portability, close() function and:
|
|
Close Files And Pipes
|
|
portability, new awk vs. old awk:
|
|
Strings And Numbers
|
|
portability, ** operator and:
|
|
Arithmetic Ops
|
|
portability, **= operator and:
|
|
Assignment Ops
|
|
portability, operators:
|
|
Increment Ops
|
|
portability, operators, not in POSIX awk:
|
|
Precedence
|
|
portability, deleting array elements:
|
|
Delete
|
|
portability, length() function:
|
|
String Functions
|
|
portability, substr() function:
|
|
String Functions
|
|
portability, functions, defining:
|
|
Definition Syntax
|
|
portability, next statement in user-defined functions:
|
|
Function Caveats
|
|
portability, example programs:
|
|
Library Functions
|
|
portability, gettext library and:
|
|
Explaining gettext
|
|
portability, internationalization and:
|
|
I18N Portability
|
|
portability, gawk:
|
|
New Ports
|
|
portable object, files, generating:
|
|
Options
|
|
portable object, template files:
|
|
Explaining gettext
|
|
portable object, files:
|
|
Explaining gettext
|
|
portable object, files:
|
|
Translator i18n
|
|
portable object, files, converting to message object files:
|
|
I18N Example
|
|
porting gawk:
|
|
New Ports
|
|
positional specifiers, printf statement:
|
|
Format Modifiers
|
|
positional specifiers, printf statement:
|
|
Printf Ordering
|
|
positional specifiers, printf statement, mixing with regular formats:
|
|
Printf Ordering
|
|
POSIX, awk and:
|
|
Preface
|
|
POSIX, programs, implementing in awk:
|
|
Clones
|
|
POSIX, gawk extensions not included in:
|
|
POSIX/GNU
|
|
POSIX awk:
|
|
This Manual
|
|
POSIX awk, GNU long options and:
|
|
Options
|
|
POSIX awk, backslashes in string constants:
|
|
Escape Sequences
|
|
POSIX awk, period (.), using:
|
|
Regexp Operator Details
|
|
POSIX awk, regular expressions and:
|
|
Regexp Operator Details
|
|
POSIX awk, interval expressions in:
|
|
Interval Expressions
|
|
POSIX awk, bracket expressions and:
|
|
Bracket Expressions
|
|
POSIX awk, bracket expressions and, character classes:
|
|
Bracket Expressions
|
|
POSIX awk, bracket expressions and, character classes:
|
|
Bracket Expressions
|
|
POSIX awk, field separators and:
|
|
Full Line Fields
|
|
POSIX awk, < operator and:
|
|
Getline/File
|
|
POSIX awk, | I/O operator and:
|
|
Getline/Pipe
|
|
POSIX awk, OFMT variable and:
|
|
OFMT
|
|
POSIX awk, printf format strings and:
|
|
Format Modifiers
|
|
POSIX awk, OFMT variable and:
|
|
Strings And Numbers
|
|
POSIX awk, arithmetic operators and:
|
|
Arithmetic Ops
|
|
POSIX awk:
|
|
Assignment Ops
|
|
POSIX awk, **= operator and:
|
|
Assignment Ops
|
|
POSIX awk, numeric strings and:
|
|
Variable Typing
|
|
POSIX awk, ** operator and:
|
|
Precedence
|
|
POSIX awk, BEGIN/END patterns:
|
|
I/O And BEGIN/END
|
|
POSIX awk, break statement and:
|
|
Break Statement
|
|
POSIX awk, continue statement and:
|
|
Continue Statement
|
|
POSIX awk, next/nextfile statements and:
|
|
Next Statement
|
|
POSIX awk, CONVFMT variable and:
|
|
User-modified
|
|
POSIX awk, functions and, length():
|
|
String Functions
|
|
POSIX awk, functions and, gsub()/sub():
|
|
Gory Details
|
|
POSIX awk, timestamps and:
|
|
Time Functions
|
|
POSIX awk, date utility and:
|
|
Time Functions
|
|
POSIX awk, function keyword in:
|
|
Definition Syntax
|
|
POSIX awk, changes in awk versions:
|
|
POSIX
|
|
POSIX mode:
|
|
Options
|
|
POSIX mode:
|
|
Options
|
|
POSIX mode:
|
|
Regexp Operator Details
|
|
POSIX mode:
|
|
Input Summary
|
|
POSIX mode:
|
|
Special Caveats
|
|
POSIX mode:
|
|
Close Files And Pipes
|
|
POSIX mode:
|
|
Scalar Constants
|
|
POSIX mode:
|
|
Locale influences conversions
|
|
POSIX mode:
|
|
POSIX String Comparison
|
|
POSIX mode:
|
|
POSIX String Comparison
|
|
POSIX mode:
|
|
String Functions
|
|
POSIX mode:
|
|
Controlling Array Traversal
|
|
POSIX mode:
|
|
POSIX Floating Point Problems
|
|
POSIX mode:
|
|
Feature History
|
|
POSIXLY_CORRECT environment variable:
|
|
Options
|
|
PREC variable:
|
|
User-modified
|
|
precedence, regexp operators:
|
|
Regexp Operator Details
|
|
precedence:
|
|
Increment Ops
|
|
precedence:
|
|
Precedence
|
|
predefined variables, -v option, setting with:
|
|
Options
|
|
predefined variables:
|
|
Built-in Variables
|
|
predefined variables, user-modifiable:
|
|
User-modified
|
|
predefined variables, conveying information:
|
|
Auto-set
|
|
pretty printer, interaction with namespaces:
|
|
Namespace And Features
|
|
pretty printing:
|
|
Options
|
|
pretty printing:
|
|
Profiling
|
|
pretty printing, profiling, difference with:
|
|
Profiling
|
|
print debugger command:
|
|
Viewing And Changing Data
|
|
print statement:
|
|
Printing
|
|
print statement, commas, omitting:
|
|
Print Examples
|
|
print statement, line continuations and:
|
|
Print Examples
|
|
print statement, I/O operators in:
|
|
Precedence
|
|
print statement, BEGIN/END patterns and:
|
|
I/O And BEGIN/END
|
|
print statement, OFMT variable and:
|
|
User-modified
|
|
print statement, sprintf() function and:
|
|
Round Function
|
|
print variables, in debugger:
|
|
Viewing And Changing Data
|
|
printf debugger command:
|
|
Viewing And Changing Data
|
|
printf statement:
|
|
Printing
|
|
printf statement, columns, aligning:
|
|
Print Examples
|
|
printf statement:
|
|
Printf
|
|
printf statement, syntax of:
|
|
Basic Printf
|
|
printf statement, format-control characters:
|
|
Control Letters
|
|
printf statement, modifiers:
|
|
Format Modifiers
|
|
printf statement, positional specifiers:
|
|
Format Modifiers
|
|
printf statement, I/O operators in:
|
|
Precedence
|
|
printf statement, sprintf() function and:
|
|
Round Function
|
|
printf statement, positional specifiers:
|
|
Printf Ordering
|
|
printf statement, positional specifiers, mixing with regular formats:
|
|
Printf Ordering
|
|
printing, list of options:
|
|
Options
|
|
printing:
|
|
Printing
|
|
printing, user information:
|
|
Id Program
|
|
printing, unduplicated lines of text:
|
|
Uniq Program
|
|
printing, mailing labels:
|
|
Labels Program
|
|
printing, messages from extensions:
|
|
Printing Messages
|
|
private variables:
|
|
Library Names
|
|
process group ID of gawk process:
|
|
Auto-set
|
|
process ID of gawk process:
|
|
Auto-set
|
|
processes, two-way communications with:
|
|
Two-way I/O
|
|
processing data:
|
|
Basic High Level
|
|
PROCINFO array:
|
|
Auto-set
|
|
PROCINFO array, platform running on:
|
|
Auto-set
|
|
PROCINFO array, values of sorted_in:
|
|
Controlling Scanning
|
|
PROCINFO array:
|
|
Time Functions
|
|
PROCINFO array:
|
|
Passwd Functions
|
|
PROCINFO array, testing the field splitting:
|
|
Passwd Functions
|
|
PROCINFO array, group membership and:
|
|
Group Functions
|
|
PROCINFO array, user and group ID numbers and:
|
|
Id Program
|
|
PROCINFO array, communications via ptys and:
|
|
Two-way I/O
|
|
profiler, interaction with namespaces:
|
|
Namespace And Features
|
|
profiling awk programs:
|
|
Profiling
|
|
profiling awk programs, dynamically:
|
|
Profiling
|
|
profiling, pretty printing, difference with:
|
|
Profiling
|
|
program identifiers:
|
|
Auto-set
|
|
program, definition of:
|
|
Getting Started
|
|
programming, concepts:
|
|
Basic Concepts
|
|
programming, concepts:
|
|
Basic Concepts
|
|
programming, basic steps:
|
|
Basic High Level
|
|
programming conventions, exit statement:
|
|
Exit Statement
|
|
programming conventions, ARGC/ARGV variables:
|
|
Auto-set
|
|
programming conventions, functions, calling:
|
|
Calling Built-in
|
|
programming conventions, functions, writing:
|
|
Definition Syntax
|
|
programming conventions, function parameters:
|
|
Return Statement
|
|
programming conventions, private variable names:
|
|
Library Names
|
|
programming conventions, --non-decimal-data option:
|
|
Nondecimal Data
|
|
programming conventions, gawk extensions:
|
|
Internal File Ops
|
|
programming language, recipe for:
|
|
History
|
|
programming languages, data-driven vs. procedural:
|
|
Getting Started
|
|
programming languages, Go:
|
|
Other Versions
|
|
programming languages, Ada:
|
|
Glossary
|
|
programming languages, Java:
|
|
Glossary
|
|
pwcat program:
|
|
Passwd Functions
|
|
|
|
|
Q
|
|
|
|
|
q debugger command (alias for quit):
|
|
Miscellaneous Debugger Commands
|
|
QSE awk:
|
|
Other Versions
|
|
qualified name, definition of:
|
|
Qualified Names
|
|
qualified name, use of:
|
|
Qualified Names
|
|
Quanstrom, Erik:
|
|
Alarm Program
|
|
question mark (?), regexp operator:
|
|
Regexp Operator Details
|
|
question mark (?), regexp operator:
|
|
GNU Regexp Operators
|
|
question mark (?), ?: operator:
|
|
Precedence
|
|
QuikTrim Awk:
|
|
Other Versions
|
|
quit debugger command:
|
|
Miscellaneous Debugger Commands
|
|
QUIT signal (MS-Windows):
|
|
Profiling
|
|
quoting, in gawk command lines:
|
|
Long
|
|
quoting, for small awk programs:
|
|
Comments
|
|
quoting, in gawk command lines, tricks for:
|
|
Quoting
|
|
|
|
|
R
|
|
|
|
|
r debugger command (alias for run):
|
|
Debugger Execution Control
|
|
Rakitzis, Byron:
|
|
History Sorting
|
|
Ramey, Chet:
|
|
Acknowledgments
|
|
Ramey, Chet:
|
|
General Data Types
|
|
rand() function:
|
|
Numeric Functions
|
|
random numbers, rand()/srand() functions:
|
|
Numeric Functions
|
|
random numbers, seed of:
|
|
Numeric Functions
|
|
random numbers, Cliff:
|
|
Cliff Random Function
|
|
range expressions (regexps):
|
|
Bracket Expressions
|
|
range patterns:
|
|
Ranges
|
|
range patterns, line continuation and:
|
|
Ranges
|
|
Rankin, Pat:
|
|
Acknowledgments
|
|
Rankin, Pat:
|
|
Assignment Ops
|
|
Rankin, Pat:
|
|
Contributors
|
|
RapidJson JSON parser library:
|
|
gawkextlib
|
|
reada() extension function:
|
|
Extension Sample Read write array
|
|
readable data files, checking:
|
|
File Checking
|
|
readable.awk program:
|
|
File Checking
|
|
readdir extension:
|
|
Extension Sample Readdir
|
|
readfile() extension function:
|
|
Extension Sample Readfile
|
|
readfile() user-defined function:
|
|
Readfile Function
|
|
reading input files:
|
|
Reading Files
|
|
recipe for a programming language:
|
|
History
|
|
record separators:
|
|
awk split records
|
|
record separators, newlines as:
|
|
awk split records
|
|
record separators, changing:
|
|
awk split records
|
|
record separators, regular expressions as:
|
|
awk split records
|
|
record separators, with multiline records:
|
|
Multiple Line
|
|
record separators:
|
|
User-modified
|
|
records:
|
|
Reading Files
|
|
records, splitting input into:
|
|
Records
|
|
records, terminating:
|
|
awk split records
|
|
records, treating files as:
|
|
gawk split records
|
|
records, multiline:
|
|
Multiple Line
|
|
records, printing:
|
|
Print
|
|
records:
|
|
Basic High Level
|
|
recursive functions:
|
|
Definition Syntax
|
|
redirect gawk output, in debugger:
|
|
Debugger Info
|
|
redirection, of input:
|
|
Getline/File
|
|
redirection, of output:
|
|
Redirection
|
|
redirection, on VMS:
|
|
VMS Running
|
|
reference counting, sorting arrays:
|
|
Array Sorting Functions
|
|
regexp:
|
|
Regexp
|
|
regexp constants:
|
|
Regexp Usage
|
|
regexp constants, slashes vs. quotes:
|
|
Computed Regexps
|
|
regexp constants, vs. string constants:
|
|
Computed Regexps
|
|
regexp constants:
|
|
Regexp Constants
|
|
regexp constants, in gawk:
|
|
Standard Regexp Constants
|
|
regexp constants, /=…/, /= operator and:
|
|
Assignment Ops
|
|
regexp constants:
|
|
Comparison Operators
|
|
regexp constants, as patterns:
|
|
Expression Patterns
|
|
register loadable extension:
|
|
Registration Functions
|
|
regular expressions, interval expressions and:
|
|
Options
|
|
regular expressions:
|
|
Regexp
|
|
regular expressions, as patterns:
|
|
Regexp Usage
|
|
regular expressions, operators:
|
|
Regexp Usage
|
|
regular expressions, operators:
|
|
Regexp Operators
|
|
regular expressions, anchors in:
|
|
Regexp Operator Details
|
|
regular expressions, operators, precedence of:
|
|
Regexp Operator Details
|
|
regular expressions, leftmost longest match:
|
|
Leftmost Longest
|
|
regular expressions, computed:
|
|
Computed Regexps
|
|
regular expressions, dynamic:
|
|
Computed Regexps
|
|
regular expressions, dynamic, with embedded newlines:
|
|
Computed Regexps
|
|
regular expressions, operators, gawk:
|
|
GNU Regexp Operators
|
|
regular expressions, operators, for words:
|
|
GNU Regexp Operators
|
|
regular expressions, operators, for buffers:
|
|
GNU Regexp Operators
|
|
regular expressions, gawk, command-line options:
|
|
GNU Regexp Operators
|
|
regular expressions, case sensitivity:
|
|
Case-sensitivity
|
|
regular expressions, as record separators:
|
|
awk split records
|
|
regular expressions, as field separators:
|
|
Field Separators
|
|
regular expressions, as field separators:
|
|
Regexp Field Splitting
|
|
regular expressions, as patterns:
|
|
Regexp Patterns
|
|
regular expressions, case sensitivity:
|
|
User-modified
|
|
regular expressions, searching for:
|
|
Egrep Program
|
|
replace in string:
|
|
String Functions
|
|
retrying input:
|
|
Retrying Input
|
|
return debugger command:
|
|
Debugger Execution Control
|
|
return statement, user-defined functions:
|
|
Return Statement
|
|
return value, close() function:
|
|
Close Files And Pipes
|
|
rev() user-defined function:
|
|
Function Example
|
|
revoutput extension:
|
|
Extension Sample Revout
|
|
revtwoway extension:
|
|
Extension Sample Rev2way
|
|
rewind() user-defined function:
|
|
Rewind Function
|
|
right angle bracket (>), > operator (I/O):
|
|
Redirection
|
|
right angle bracket (>), >> operator (I/O):
|
|
Redirection
|
|
right angle bracket (>), >= operator:
|
|
Comparison Operators
|
|
right angle bracket (>), > operator:
|
|
Comparison Operators
|
|
right angle bracket (>), >= operator:
|
|
Precedence
|
|
right angle bracket (>), > operator:
|
|
Precedence
|
|
right angle bracket (>), >> operator (I/O):
|
|
Precedence
|
|
right shift, bitwise:
|
|
Bitwise Functions
|
|
Ritchie, Dennis:
|
|
Basic Data Typing
|
|
RLENGTH variable:
|
|
Auto-set
|
|
RLENGTH variable, match() function and:
|
|
String Functions
|
|
Robbins, Miriam:
|
|
Acknowledgments
|
|
Robbins, Jean:
|
|
Acknowledgments
|
|
Robbins, Harry:
|
|
Acknowledgments
|
|
Robbins, Arnold:
|
|
Command Line Field Separator
|
|
Robbins, Bill:
|
|
Getline/Pipe
|
|
Robbins, Miriam:
|
|
Getline/Pipe
|
|
Robbins, Arnold:
|
|
Getline/Pipe
|
|
Robbins, Arnold:
|
|
Passwd Functions
|
|
Robbins, Miriam:
|
|
Passwd Functions
|
|
Robbins, Arnold:
|
|
Alarm Program
|
|
Robbins, Arnold:
|
|
General Data Types
|
|
Robbins, Arnold:
|
|
Contributors
|
|
Robbins, Arnold:
|
|
Maintainers
|
|
Robbins, Arnold:
|
|
Future Extensions
|
|
Rommel, Kai Uwe:
|
|
Contributors
|
|
round to nearest integer:
|
|
Numeric Functions
|
|
round() user-defined function:
|
|
Round Function
|
|
rounding numbers:
|
|
Round Function
|
|
ROUNDMODE variable:
|
|
User-modified
|
|
ROUNDMODE variable:
|
|
Setting the rounding mode
|
|
RS variable:
|
|
awk split records
|
|
RS variable, multiline records and:
|
|
Multiple Line
|
|
RS variable:
|
|
User-modified
|
|
rshift() function (gawk):
|
|
Bitwise Functions
|
|
RSTART variable:
|
|
Auto-set
|
|
RSTART variable, match() function and:
|
|
String Functions
|
|
RT variable:
|
|
awk split records
|
|
RT variable:
|
|
gawk split records
|
|
RT variable:
|
|
Multiple Line
|
|
RT variable:
|
|
Auto-set
|
|
Rubin, Paul:
|
|
History
|
|
Rubin, Paul:
|
|
Contributors
|
|
rule, definition of:
|
|
Getting Started
|
|
run debugger command:
|
|
Debugger Execution Control
|
|
rvalues/lvalues:
|
|
Assignment Ops
|
|
|
|
|
S
|
|
|
|
|
s debugger command (alias for step):
|
|
Debugger Execution Control
|
|
sample debugging session:
|
|
Sample Debugging Session
|
|
sandbox mode:
|
|
Options
|
|
save debugger options:
|
|
Debugger Info
|
|
scalar or array:
|
|
Type Functions
|
|
scalar values:
|
|
Basic Data Typing
|
|
scanning arrays:
|
|
Scanning an Array
|
|
scanning multidimensional arrays:
|
|
Multiscanning
|
|
Schorr, Andrew:
|
|
Acknowledgments
|
|
Schorr, Andrew:
|
|
Auto-set
|
|
Schorr, Andrew:
|
|
Contributors
|
|
Schreiber, Bert:
|
|
Acknowledgments
|
|
Schreiber, Rita:
|
|
Acknowledgments
|
|
search and replace in strings:
|
|
String Functions
|
|
search for substring:
|
|
String Functions
|
|
search paths, for source files:
|
|
AWKPATH Variable
|
|
search paths, for loadable extensions:
|
|
AWKLIBPATH Variable
|
|
search paths:
|
|
Programs Exercises
|
|
search paths, for source files:
|
|
Programs Exercises
|
|
search paths:
|
|
PC Using
|
|
search paths, for source files:
|
|
PC Using
|
|
search paths:
|
|
VMS Running
|
|
search paths, for source files:
|
|
VMS Running
|
|
searching, files for regular expressions:
|
|
Egrep Program
|
|
searching, for words:
|
|
Dupword Program
|
|
sed utility:
|
|
Full Line Fields
|
|
sed utility:
|
|
Simple Sed
|
|
sed utility:
|
|
Glossary
|
|
seeding random number generator:
|
|
Numeric Functions
|
|
semicolon (;), separating statements in actions:
|
|
Statements/Lines
|
|
semicolon (;), separating rules:
|
|
Statements/Lines
|
|
semicolon (;), separating statements in actions:
|
|
Action Overview
|
|
semicolon (;), separating statements in actions:
|
|
Statements
|
|
semicolon (;), AWKPATH variable and:
|
|
PC Using
|
|
separators, for records:
|
|
awk split records
|
|
separators, for records:
|
|
awk split records
|
|
separators, for records, regular expressions as:
|
|
awk split records
|
|
separators, field, FS variable and:
|
|
Default Field Splitting
|
|
separators, for statements in actions:
|
|
Action Overview
|
|
separators, field, FIELDWIDTHS variable and:
|
|
User-modified
|
|
separators, field, FPAT variable and:
|
|
User-modified
|
|
separators, field:
|
|
User-modified
|
|
separators, field:
|
|
User-modified
|
|
separators, for records:
|
|
User-modified
|
|
separators, subscript:
|
|
User-modified
|
|
set breakpoint:
|
|
Breakpoint Control
|
|
set debugger command:
|
|
Viewing And Changing Data
|
|
set directory of message catalogs:
|
|
I18N Functions
|
|
set watchpoint:
|
|
Viewing And Changing Data
|
|
shadowing of variable values:
|
|
Definition Syntax
|
|
shell function, gawkpath_default:
|
|
Shell Startup Files
|
|
shell function, gawkpath_prepend:
|
|
Shell Startup Files
|
|
shell function, gawkpath_append:
|
|
Shell Startup Files
|
|
shell function, gawklibpath_default:
|
|
Shell Startup Files
|
|
shell function, gawklibpath_prepend:
|
|
Shell Startup Files
|
|
shell function, gawklibpath_append:
|
|
Shell Startup Files
|
|
shell quoting, rules for:
|
|
Quoting
|
|
shells, scripts:
|
|
One-shot
|
|
shells, quoting, rules for:
|
|
Quoting
|
|
shells, sea:
|
|
Undocumented
|
|
shells, piping commands into:
|
|
Redirection
|
|
shells, variables:
|
|
Using Shell Variables
|
|
shells, quoting:
|
|
Using Shell Variables
|
|
shift, bitwise:
|
|
Bitwise Functions
|
|
short-circuit operators:
|
|
Boolean Ops
|
|
show in debugger, function arguments:
|
|
Debugger Info
|
|
show in debugger, breakpoints:
|
|
Debugger Info
|
|
show in debugger, local variables:
|
|
Debugger Info
|
|
show in debugger, name of current source file:
|
|
Debugger Info
|
|
show in debugger, all source files:
|
|
Debugger Info
|
|
show in debugger, watchpoints:
|
|
Debugger Info
|
|
si debugger command (alias for stepi):
|
|
Debugger Execution Control
|
|
side effects, FILENAME variable:
|
|
Getline Notes
|
|
side effects:
|
|
Concatenation
|
|
side effects, assignment expressions:
|
|
Assignment Ops
|
|
side effects:
|
|
Increment Ops
|
|
side effects, decrement/increment operators:
|
|
Increment Ops
|
|
side effects:
|
|
Increment Ops
|
|
side effects, Boolean operators:
|
|
Boolean Ops
|
|
side effects, conditional expressions:
|
|
Conditional Exp
|
|
side effects, function calls:
|
|
Function Calls
|
|
side effects, statements:
|
|
Action Overview
|
|
side effects, array indexing:
|
|
Reference to Elements
|
|
side effects, match() function:
|
|
String Functions
|
|
side effects, sub() function:
|
|
String Functions
|
|
side effects, gsub() function:
|
|
String Functions
|
|
side effects, asort() function:
|
|
Array Sorting Functions
|
|
side effects, asorti() function:
|
|
Array Sorting Functions
|
|
sidebar, Recipe for a Programming Language:
|
|
History
|
|
sidebar, Understanding ‘#!’:
|
|
Executable Scripts
|
|
sidebar, Backslash Before Regular Characters:
|
|
Escape Sequences
|
|
sidebar, Escape Sequences for Metacharacters:
|
|
Escape Sequences
|
|
sidebar, Using \n in Bracket Expressions of Dynamic Regexps:
|
|
Computed Regexps
|
|
sidebar, RS = "\0" Is Not Portable:
|
|
gawk split records
|
|
sidebar, Understanding $0:
|
|
Changing Fields
|
|
sidebar, Changing FS Does Not Affect the Fields:
|
|
Full Line Fields
|
|
sidebar, FS and IGNORECASE:
|
|
Field Splitting Summary
|
|
sidebar, Piping into sh:
|
|
Redirection
|
|
sidebar, Using close()’s Return Value:
|
|
Close Files And Pipes
|
|
sidebar, A Constant’s Base Does Not Affect Its Value:
|
|
Nondecimal-numbers
|
|
sidebar, Pre-POSIX awk Used OFMT for String Conversion:
|
|
Strings And Numbers
|
|
sidebar, Syntactic Ambiguities Between ‘/=’ and Regular Expressions:
|
|
Assignment Ops
|
|
sidebar, Operator Evaluation Order:
|
|
Increment Ops
|
|
sidebar, Changing NR and FNR:
|
|
Auto-set
|
|
sidebar, Matching the Null String:
|
|
String Functions
|
|
sidebar, Interactive Versus Noninteractive Buffering:
|
|
I/O Functions
|
|
sidebar, Controlling Output Buffering with system():
|
|
I/O Functions
|
|
sidebar, Beware The Smoke and Mirrors!:
|
|
Bitwise Functions
|
|
sidebar, So Why Does gawk Have BEGINFILE and ENDFILE?:
|
|
Filetrans Function
|
|
sidebar, Rounding Modes and Conversion:
|
|
Setting the rounding mode
|
|
SIGHUP signal, for dynamic profiling:
|
|
Profiling
|
|
SIGINT signal (MS-Windows):
|
|
Profiling
|
|
signals, USR1/SIGUSR1, for profiling:
|
|
Profiling
|
|
signals, HUP/SIGHUP, for profiling:
|
|
Profiling
|
|
signals, INT/SIGINT (MS-Windows):
|
|
Profiling
|
|
signals, QUIT/SIGQUIT (MS-Windows):
|
|
Profiling
|
|
signature program:
|
|
Signature Program
|
|
SIGQUIT signal (MS-Windows):
|
|
Profiling
|
|
SIGUSR1 signal, for dynamic profiling:
|
|
Profiling
|
|
silent debugger command:
|
|
Debugger Execution Control
|
|
sin() function:
|
|
Numeric Functions
|
|
sine:
|
|
Numeric Functions
|
|
single quote ('):
|
|
One-shot
|
|
single quote ('), in gawk command lines:
|
|
Long
|
|
single quote ('), vs. apostrophe:
|
|
Comments
|
|
single quote ('), in shell commands:
|
|
Quoting
|
|
single quote ('), with double quotes:
|
|
Quoting
|
|
single records, treating files as:
|
|
gawk split records
|
|
single-character fields:
|
|
Single Character Fields
|
|
single-precision:
|
|
Computer Arithmetic
|
|
single-step execution, in the debugger:
|
|
Debugger Execution Control
|
|
Skywalker, Luke:
|
|
Undocumented
|
|
sleep utility:
|
|
Alarm Program
|
|
sleep() extension function:
|
|
Extension Sample Time
|
|
Smith, Gavin:
|
|
Acknowledgments
|
|
Solaris, POSIX-compliant awk:
|
|
Other Versions
|
|
sort array:
|
|
String Functions
|
|
sort array indices:
|
|
String Functions
|
|
sort function, arrays, sorting:
|
|
Array Sorting Functions
|
|
sort utility:
|
|
Word Sorting
|
|
sort utility, coprocesses and:
|
|
Two-way I/O
|
|
sorting characters in different languages:
|
|
Explaining gettext
|
|
source code, mixing:
|
|
Options
|
|
source code, gawk:
|
|
Gawk Distribution
|
|
source code, Brian Kernighan’s awk:
|
|
Other Versions
|
|
source code, mawk:
|
|
Other Versions
|
|
source code, awka:
|
|
Other Versions
|
|
source code, pawk (profiling version of Brian Kernighan’s awk):
|
|
Other Versions
|
|
source code, BusyBox Awk:
|
|
Other Versions
|
|
source code, Solaris awk:
|
|
Other Versions
|
|
source code, Illumos awk:
|
|
Other Versions
|
|
source code, goawk:
|
|
Other Versions
|
|
source code, jawk:
|
|
Other Versions
|
|
source code, libmawk:
|
|
Other Versions
|
|
source code, embeddable awk interpreter:
|
|
Other Versions
|
|
source code, pawk (Python version):
|
|
Other Versions
|
|
source code, QSE awk:
|
|
Other Versions
|
|
source code, QuikTrim Awk:
|
|
Other Versions
|
|
source file, show in debugger:
|
|
Debugger Info
|
|
source files, search path for:
|
|
Programs Exercises
|
|
sparse arrays:
|
|
Array Intro
|
|
Spencer, Henry:
|
|
Glossary
|
|
split string into array:
|
|
String Functions
|
|
split utility:
|
|
Split Program
|
|
split() function, array elements, deleting:
|
|
Delete
|
|
split() function:
|
|
String Functions
|
|
split.awk program:
|
|
Split Program
|
|
sprintf() function:
|
|
OFMT
|
|
sprintf() function:
|
|
String Functions
|
|
sprintf() function, print/printf statements and:
|
|
Round Function
|
|
sqrt() function:
|
|
Numeric Functions
|
|
square brackets ([]), regexp operator:
|
|
Regexp Operator Details
|
|
square root:
|
|
Numeric Functions
|
|
srand() function:
|
|
Numeric Functions
|
|
stack frame (debugger):
|
|
Debugging Terms
|
|
Stallman, Richard:
|
|
Manual History
|
|
Stallman, Richard:
|
|
Acknowledgments
|
|
Stallman, Richard:
|
|
Contributors
|
|
Stallman, Richard:
|
|
Glossary
|
|
standard error:
|
|
Special FD
|
|
standard input:
|
|
Read Terminal
|
|
standard input:
|
|
Special FD
|
|
standard output:
|
|
Special FD
|
|
starting the debugger:
|
|
Debugger Invocation
|
|
stat() extension function:
|
|
Extension Sample File Functions
|
|
statements, multiple:
|
|
Statements/Lines
|
|
statements, control, in actions:
|
|
Statements
|
|
statements, compound, control statements and:
|
|
Statements
|
|
step debugger command:
|
|
Debugger Execution Control
|
|
stepi debugger command:
|
|
Debugger Execution Control
|
|
stop automatic display, in debugger:
|
|
Viewing And Changing Data
|
|
stream editors:
|
|
Full Line Fields
|
|
stream editors:
|
|
Simple Sed
|
|
strftime() function (gawk):
|
|
Time Functions
|
|
string, constants, vs. regexp constants:
|
|
Computed Regexps
|
|
string, constants:
|
|
Scalar Constants
|
|
string, operators:
|
|
Concatenation
|
|
string, length:
|
|
String Functions
|
|
string, regular expression match of:
|
|
String Functions
|
|
string, extraction (internationalization):
|
|
String Extraction
|
|
string-manipulation functions:
|
|
String Functions
|
|
string-matching operators:
|
|
Regexp Usage
|
|
string-translation functions:
|
|
I18N Functions
|
|
strings, empty:
|
|
awk split records
|
|
strings, null:
|
|
Regexp Field Splitting
|
|
strings, length limitations:
|
|
Scalar Constants
|
|
strings, continuation across lines:
|
|
Scalar Constants
|
|
strings, converting:
|
|
Strings And Numbers
|
|
strings, numeric:
|
|
Variable Typing
|
|
strings, converting, numbers to:
|
|
User-modified
|
|
strings, converting, numbers to:
|
|
User-modified
|
|
strings, splitting, example:
|
|
String Functions
|
|
strings, converting letter case:
|
|
String Functions
|
|
strings, converting:
|
|
Bitwise Functions
|
|
strings, merging arrays into:
|
|
Join Function
|
|
strings, for localization:
|
|
Programmer i18n
|
|
strings, extracting:
|
|
String Extraction
|
|
strtonum() function (gawk):
|
|
String Functions
|
|
strtonum() function (gawk), --non-decimal-data option and:
|
|
Nondecimal Data
|
|
sub() function:
|
|
Standard Regexp Constants
|
|
sub() function:
|
|
String Functions
|
|
sub() function, arguments of:
|
|
String Functions
|
|
sub() function, escape processing:
|
|
Gory Details
|
|
subscript separators:
|
|
User-modified
|
|
subscripts in arrays, numbers as:
|
|
Numeric Array Subscripts
|
|
subscripts in arrays, uninitialized variables as:
|
|
Uninitialized Subscripts
|
|
subscripts in arrays, multidimensional:
|
|
Multidimensional
|
|
subscripts in arrays, multidimensional, scanning:
|
|
Multiscanning
|
|
SUBSEP variable:
|
|
User-modified
|
|
SUBSEP variable, multidimensional arrays and:
|
|
Multidimensional
|
|
substitute in string:
|
|
String Functions
|
|
substr() function:
|
|
String Functions
|
|
substring:
|
|
String Functions
|
|
Sumner, Andrew:
|
|
Other Versions
|
|
supplementary groups of gawk process:
|
|
Auto-set
|
|
switch statement:
|
|
Switch Statement
|
|
SYMTAB array:
|
|
Auto-set
|
|
syntactic ambiguity: /= operator vs. /=…/ regexp constant:
|
|
Assignment Ops
|
|
system() function:
|
|
I/O Functions
|
|
systime() function (gawk):
|
|
Time Functions
|
|
|
|
|
T
|
|
|
|
|
t debugger command (alias for tbreak):
|
|
Breakpoint Control
|
|
tbreak debugger command:
|
|
Breakpoint Control
|
|
Tcl:
|
|
Library Names
|
|
TCP/IP, support for:
|
|
Special Network
|
|
TCP/IP:
|
|
TCP/IP Networking
|
|
tee utility:
|
|
Tee Program
|
|
tee.awk program:
|
|
Tee Program
|
|
temporary breakpoint:
|
|
Breakpoint Control
|
|
terminating records:
|
|
awk split records
|
|
testbits.awk program:
|
|
Bitwise Functions
|
|
testext extension:
|
|
Extension Sample API Tests
|
|
Texinfo:
|
|
Conventions
|
|
Texinfo, chapter beginnings in files:
|
|
Regexp Operator Details
|
|
Texinfo:
|
|
Library Functions
|
|
Texinfo:
|
|
Dupword Program
|
|
Texinfo, extracting programs from source files:
|
|
Extract Program
|
|
Texinfo:
|
|
Extract Program
|
|
Texinfo:
|
|
Distribution contents
|
|
Texinfo:
|
|
Adding Code
|
|
text, printing:
|
|
Print
|
|
text, printing, unduplicated lines of:
|
|
Uniq Program
|
|
TEXTDOMAIN variable:
|
|
User-modified
|
|
TEXTDOMAIN variable:
|
|
Programmer i18n
|
|
TEXTDOMAIN variable, BEGIN pattern and:
|
|
Programmer i18n
|
|
TEXTDOMAIN variable, portability and:
|
|
I18N Portability
|
|
textdomain() function (C library):
|
|
Explaining gettext
|
|
tilde (~), ~ operator:
|
|
Regexp Usage
|
|
tilde (~), ~ operator:
|
|
Computed Regexps
|
|
tilde (~), ~ operator:
|
|
Case-sensitivity
|
|
tilde (~), ~ operator:
|
|
Regexp Constants
|
|
tilde (~), ~ operator:
|
|
Comparison Operators
|
|
tilde (~), ~ operator:
|
|
Comparison Operators
|
|
tilde (~), ~ operator:
|
|
Precedence
|
|
tilde (~), ~ operator:
|
|
Expression Patterns
|
|
time, retrieving:
|
|
Time Functions
|
|
time, managing:
|
|
Getlocaltime Function
|
|
time, alarm clock example program:
|
|
Alarm Program
|
|
time, localization and:
|
|
Explaining gettext
|
|
time functions:
|
|
Time Functions
|
|
timeout, reading input:
|
|
Read Timeout
|
|
timestamps:
|
|
Time Functions
|
|
timestamps:
|
|
Time Functions
|
|
timestamps, converting dates to:
|
|
Time Functions
|
|
timestamps, formatted:
|
|
Getlocaltime Function
|
|
tolower() function:
|
|
String Functions
|
|
toupper() function:
|
|
String Functions
|
|
tr utility:
|
|
Translate Program
|
|
trace debugger command:
|
|
Miscellaneous Debugger Commands
|
|
traceback, display in debugger:
|
|
Execution Stack
|
|
translate string:
|
|
I18N Functions
|
|
translate.awk program:
|
|
Translate Program
|
|
treating files, as single records:
|
|
gawk split records
|
|
troubleshooting, typographical errors, global variables:
|
|
Options
|
|
troubleshooting, --non-decimal-data option:
|
|
Options
|
|
troubleshooting, backslash before nonspecial character:
|
|
Escape Sequences
|
|
troubleshooting, regexp constants vs. string constants:
|
|
Computed Regexps
|
|
troubleshooting, awk uses FS not IFS:
|
|
Field Separators
|
|
troubleshooting, fatal errors, field widths, specifying:
|
|
Fixed width data
|
|
troubleshooting, print statement, omitting commas:
|
|
Print Examples
|
|
troubleshooting, fatal errors, printf format strings:
|
|
Format Modifiers
|
|
troubleshooting, printing:
|
|
Redirection
|
|
troubleshooting, quotes with file names:
|
|
Special FD
|
|
troubleshooting, division:
|
|
Arithmetic Ops
|
|
troubleshooting, string concatenation:
|
|
Concatenation
|
|
troubleshooting, == operator:
|
|
Comparison Operators
|
|
troubleshooting, function call syntax:
|
|
Function Calls
|
|
troubleshooting, gawk, fatal errors, function arguments:
|
|
Calling Built-in
|
|
troubleshooting, match() function:
|
|
String Functions
|
|
troubleshooting, gsub()/sub() functions:
|
|
String Functions
|
|
troubleshooting, substr() function:
|
|
String Functions
|
|
troubleshooting, fflush() function:
|
|
I/O Functions
|
|
troubleshooting, system() function:
|
|
I/O Functions
|
|
troubleshooting, readable data files:
|
|
File Checking
|
|
troubleshooting, getline command:
|
|
File Checking
|
|
troubleshooting, gawk, bug reports:
|
|
Bugs
|
|
troubleshooting, gawk:
|
|
Compatibility Mode
|
|
true, logical:
|
|
Truth Values
|
|
Trueman, David:
|
|
History
|
|
Trueman, David:
|
|
Acknowledgments
|
|
Trueman, David:
|
|
Contributors
|
|
trunc-mod operation:
|
|
Arithmetic Ops
|
|
truth values:
|
|
Truth Values
|
|
type, conversion:
|
|
Strings And Numbers
|
|
type, of variable, typeof() function (gawk):
|
|
Type Functions
|
|
typeof() function (gawk):
|
|
Type Functions
|
|
|
|
|
U
|
|
|
|
|
u debugger command (alias for until):
|
|
Debugger Execution Control
|
|
unassigned array elements:
|
|
Reference to Elements
|
|
undefined functions:
|
|
Function Caveats
|
|
underscore (_), in names of private variables:
|
|
Library Names
|
|
underscore (_), C macro:
|
|
Explaining gettext
|
|
underscore (_), translatable strings:
|
|
Programmer i18n
|
|
undisplay debugger command:
|
|
Viewing And Changing Data
|
|
undocumented features:
|
|
Undocumented
|
|
Unicode:
|
|
Ordinal Functions
|
|
Unicode:
|
|
Ranges and Locales
|
|
Unicode:
|
|
Glossary
|
|
uninitialized variables, as array subscripts:
|
|
Uninitialized Subscripts
|
|
uniq utility:
|
|
Uniq Program
|
|
uniq.awk program:
|
|
Uniq Program
|
|
Unix, awk scripts and:
|
|
Executable Scripts
|
|
Unix:
|
|
Glossary
|
|
Unix awk, backslashes in escape sequences:
|
|
Escape Sequences
|
|
Unix awk, password files, field separators and:
|
|
Command Line Field Separator
|
|
Unix awk, close() function and:
|
|
Close Files And Pipes
|
|
unsigned integers:
|
|
Computer Arithmetic
|
|
until debugger command:
|
|
Debugger Execution Control
|
|
unwatch debugger command:
|
|
Viewing And Changing Data
|
|
up debugger command:
|
|
Execution Stack
|
|
uppercase names, namespace for:
|
|
Default Namespace
|
|
user database, reading:
|
|
Passwd Functions
|
|
user-defined, variables:
|
|
Variables
|
|
user-defined, function, bits2str():
|
|
Bitwise Functions
|
|
user-defined, functions:
|
|
User-defined
|
|
user-defined, function, rev():
|
|
Function Example
|
|
user-defined, function, ctime():
|
|
Function Example
|
|
user-defined, function, assert():
|
|
Assert Function
|
|
user-defined, function, round():
|
|
Round Function
|
|
user-defined, function, cliff_rand():
|
|
Cliff Random Function
|
|
user-defined, function, ord():
|
|
Ordinal Functions
|
|
user-defined, function, chr():
|
|
Ordinal Functions
|
|
user-defined, function, _ord_init():
|
|
Ordinal Functions
|
|
user-defined, function, join():
|
|
Join Function
|
|
user-defined, function, getlocaltime():
|
|
Getlocaltime Function
|
|
user-defined, function, readfile():
|
|
Readfile Function
|
|
user-defined, function, beginfile():
|
|
Filetrans Function
|
|
user-defined, function, endfile():
|
|
Filetrans Function
|
|
user-defined, function, rewind():
|
|
Rewind Function
|
|
user-defined, function, getopt():
|
|
Getopt Function
|
|
user-defined, function, getopt():
|
|
Getopt Function
|
|
user-defined, function, getpwent():
|
|
Passwd Functions
|
|
user-defined, function, _pw_init():
|
|
Passwd Functions
|
|
user-defined, function, getpwnam():
|
|
Passwd Functions
|
|
user-defined, function, getpwuid():
|
|
Passwd Functions
|
|
user-defined, function, getpwent():
|
|
Passwd Functions
|
|
user-defined, function, endpwent():
|
|
Passwd Functions
|
|
user-defined, function, getgrent():
|
|
Group Functions
|
|
user-defined, function, _gr_init():
|
|
Group Functions
|
|
user-defined, function, getgrnam():
|
|
Group Functions
|
|
user-defined, function, getgrgid():
|
|
Group Functions
|
|
user-defined, function, getgruser():
|
|
Group Functions
|
|
user-defined, function, getgrent():
|
|
Group Functions
|
|
user-defined, function, endgrent():
|
|
Group Functions
|
|
user-defined, function, walk_array():
|
|
Walking Arrays
|
|
user-defined, functions, counts, in a profile:
|
|
Profiling
|
|
user-modifiable variables:
|
|
User-modified
|
|
users, information about, retrieving:
|
|
Passwd Functions
|
|
users, information about, printing:
|
|
Id Program
|
|
USR1 signal, for dynamic profiling:
|
|
Profiling
|
|
|
|
|
V
|
|
|
|
|
values, regexp:
|
|
Strong Regexp Constants
|
|
values, numeric:
|
|
Basic Data Typing
|
|
values, string:
|
|
Basic Data Typing
|
|
variable assignments and input files:
|
|
Other Arguments
|
|
variable type, typeof() function (gawk):
|
|
Type Functions
|
|
variables:
|
|
Other Features
|
|
variables, setting:
|
|
Options
|
|
variables, predefined, -v option, setting with:
|
|
Options
|
|
variables, global, printing list of:
|
|
Options
|
|
variables, getline command into, using:
|
|
Getline/Variable
|
|
variables, getline command into, using:
|
|
Getline/Variable/File
|
|
variables, getline command into, using:
|
|
Getline/Variable/Pipe
|
|
variables, getline command into, using:
|
|
Getline/Variable/Coprocess
|
|
variables, user-defined:
|
|
Variables
|
|
variables, built-in:
|
|
Using Variables
|
|
variables, initializing:
|
|
Using Variables
|
|
variables, assigning on command line:
|
|
Assignment Options
|
|
variables, types of:
|
|
Assignment Ops
|
|
variables, types of, comparison expressions and:
|
|
Typing and Comparison
|
|
variables, flag:
|
|
Boolean Ops
|
|
variables, predefined:
|
|
Built-in Variables
|
|
variables, predefined, conveying information:
|
|
Auto-set
|
|
variables, uninitialized, as array subscripts:
|
|
Uninitialized Subscripts
|
|
variables, shadowing:
|
|
Definition Syntax
|
|
variables, local to a function:
|
|
Variable Scope
|
|
variables, global, for library functions:
|
|
Library Names
|
|
variables, private:
|
|
Library Names
|
|
variables:
|
|
Basic Data Typing
|
|
version of, gawk:
|
|
Auto-set
|
|
version of, GNU MP library:
|
|
Auto-set
|
|
version of, GNU MPFR library:
|
|
Auto-set
|
|
version of, gawk extension API:
|
|
Auto-set
|
|
vertical bar (|):
|
|
Regexp Operator Details
|
|
vertical bar (|), | operator (I/O):
|
|
Getline/Pipe
|
|
vertical bar (|), |& operator (I/O):
|
|
Getline/Coprocess
|
|
vertical bar (|), |
operator:
|
|
Boolean Ops
|
|
vertical bar (|), | operator (I/O):
|
|
Precedence
|
|
vertical bar (|), |& operator (I/O):
|
|
Precedence
|
|
vertical bar (|), |
operator:
|
|
Precedence
|
|
vertical bar (|), |& operator (I/O):
|
|
Two-way I/O
|
|
Vinschen, Corinna:
|
|
Acknowledgments
|
|
|
|
|
W
|
|
|
|
|
w debugger command (alias for watch):
|
|
Viewing And Changing Data
|
|
w utility:
|
|
Fixed width data
|
|
wait() extension function:
|
|
Extension Sample Fork
|
|
waitpid() extension function:
|
|
Extension Sample Fork
|
|
walk_array() user-defined function:
|
|
Walking Arrays
|
|
Wall, Larry:
|
|
Array Intro
|
|
Wall, Larry:
|
|
Future Extensions
|
|
Wallin, Anders:
|
|
Contributors
|
|
warnings, issuing:
|
|
Options
|
|
watch debugger command:
|
|
Viewing And Changing Data
|
|
watchpoint (debugger):
|
|
Debugging Terms
|
|
watchpoints, show in debugger:
|
|
Debugger Info
|
|
wc utility:
|
|
Wc Program
|
|
wc.awk program:
|
|
Wc Program
|
|
Weinberger, Peter:
|
|
History
|
|
Weinberger, Peter:
|
|
Contributors
|
|
where debugger command (alias for backtrace):
|
|
Execution Stack
|
|
while statement, use of regexps in:
|
|
Regexp Usage
|
|
while statement:
|
|
While Statement
|
|
whitespace, newlines as:
|
|
Options
|
|
whitespace, definition of:
|
|
Fields
|
|
whitespace, as field separators:
|
|
Default Field Splitting
|
|
whitespace, functions, calling:
|
|
Calling Built-in
|
|
Williams, Kent:
|
|
Contributors
|
|
Woehlke, Matthew:
|
|
Contributors
|
|
Woods, John:
|
|
Contributors
|
|
word boundaries, matching:
|
|
GNU Regexp Operators
|
|
word, regexp definition of:
|
|
GNU Regexp Operators
|
|
word-boundary operator (gawk):
|
|
GNU Regexp Operators
|
|
wordfreq.awk program:
|
|
Word Sorting
|
|
words, counting:
|
|
Wc Program
|
|
words, duplicate, searching for:
|
|
Dupword Program
|
|
words, usage counts, generating:
|
|
Word Sorting
|
|
writea() extension function:
|
|
Extension Sample Read write array
|
|
|
|
|
X
|
|
|
|
|
xgettext utility:
|
|
String Extraction
|
|
XOR bitwise operation:
|
|
Bitwise Functions
|
|
xor() function (gawk):
|
|
Bitwise Functions
|
|
|
|
|
Y
|
|
|
|
|
Yawitz, Efraim:
|
|
Contributors
|
|
|
|
|
Z
|
|
|
|
|
Zaretskii, Eli:
|
|
Acknowledgments
|
|
Zaretskii, Eli:
|
|
Contributors
|
|
Zaretskii, Eli:
|
|
Maintainers
|
|
zerofile.awk program:
|
|
Empty Files
|
|
Zoulas, Christos:
|
|
Contributors
|
|
|
|
|