9.1.3.1 More About `\' and `&' with sub , gsub , and gensub | | More than you want to know about `\'
and `&' with sub , gsub ,
and gensub . |
9.1.4 Input/Output Functions | | Functions for files and shell commands. |
9.1.5 Using gawk 's Timestamp Functions | | Functions for dealing with timestamps. |
9.1.6 Using gawk 's Bit Manipulation Functions | | Functions for bitwise operations. |
9.1.7 Using gawk 's String Translation Functions | | Functions for string translation. |
9.2 User-Defined Functions | | Describes User-defined functions in detail. |
9.2.1 Function Definition Syntax | | How to write definitions and what they
mean. |
9.2.2 Function Definition Examples | | An example function definition and what it
does. |
9.2.3 Calling User-Defined Functions | | Things to watch out for. |
9.2.4 The return Statement | | Specifying the value a function returns. |
9.2.5 Functions and Their Effect on Variable Typing | | How variable types can change at runtime. |
10.1 Internationalization and Localization | | |
10.2 GNU gettext | | How GNU gettext works. |
10.3 Internationalizing awk Programs | | Features for the programmer. |
10.4 Translating awk Programs | | Features for the translator. |
10.4.1 Extracting Marked Strings | | Extracting marked strings. |
10.4.2 Rearranging printf Arguments | | Rearranging printf arguments. |
10.4.3 awk Portability Issues | | awk -level portability issues. |
10.5 A Simple Internationalization Example | | A simple i18n example. |
10.6 gawk Can Speak Your Language | | gawk is also internationalized. |
11.1 Allowing Non-Decimal Input Data | | Allowing non-decimal input data. |
11.2 Two-Way Communications with Another Process | | Two-way communications with another
process. |
11.3 Using gawk for Network Programming | | Using gawk for network
programming. |
11.4 Using gawk with BSD Portals | | Using gawk with BSD portals. |
11.5 Profiling Your awk Programs | | Profiling your awk programs. |
12.1 Invoking awk | | How to run awk . |
12.2 Command-Line Options | | Command-line options and their meanings. |
12.3 Other Command-Line Arguments | | Input file names and variable assignments. |
12.4 The AWKPATH Environment Variable | | Searching directories for awk
programs. |
12.5 Obsolete Options and/or Features | | Obsolete Options and/or features. |
12.6 Undocumented Options and Features | | |
12.7 Known Bugs in gawk | | |
13.1 Naming Library Function Global Variables | | How to best name private global variables
in library functions. |
13.2 General Programming | | Functions that are of general use. |
13.2.1 Implementing nextfile as a Function | | Two implementations of a nextfile
function. |
13.2.2 Assertions | | A function for assertions in awk
programs. |
13.2.3 Rounding Numbers | | A function for rounding if sprintf
does not do it correctly. |
13.2.4 The Cliff Random Number Generator | | |
13.2.5 Translating Between Characters and Numbers | | Functions for using characters as numbers
and vice versa. |
13.2.6 Merging an Array into a String | | A function to join an array into a string. |
13.2.7 Managing the Time of Day | | A function to get formatted times. |
13.3 Data File Management | | Functions for managing command-line data
files. |
13.3.1 Noting Data File Boundaries | | A function for handling data file
transitions. |
13.3.2 Rereading the Current File | | A function for rereading the current file. |
13.3.3 Checking for Readable Data Files | | Checking that data files are readable. |
13.3.4 Treating Assignments as File Names | | Treating assignments as file names. |
13.4 Processing Command-Line Options | | A function for processing command-line
arguments. |
13.5 Reading the User Database | | Functions for getting user information. |
13.6 Reading the Group Database | | Functions for getting group information. |
14.1 Running the Example Programs | | How to run these examples. |
14.2 Reinventing Wheels for Fun and Profit | | Clones of common utilities. |
14.2.1 Cutting out Fields and Columns | | The cut utility. |
14.2.2 Searching for Regular Expressions in Files | | The egrep utility. |
14.2.3 Printing out User Information | | The id utility. |
14.2.4 Splitting a Large File into Pieces | | The split utility. |
14.2.5 Duplicating Output into Multiple Files | | The tee utility. |
14.2.6 Printing Non-Duplicated Lines of Text | | The uniq utility. |
14.2.7 Counting Things | | The wc utility. |
14.3 A Grab Bag of awk Programs | | Some interesting awk programs. |
14.3.1 Finding Duplicated Words in a Document | | Finding duplicated words in a document. |
14.3.2 An Alarm Clock Program | | An alarm clock. |
14.3.3 Transliterating Characters | | A program similar to the tr
utility. |
14.3.4 Printing Mailing Labels | | Printing mailing labels. |
14.3.5 Generating Word Usage Counts | | A program to produce a word usage count. |
14.3.6 Removing Duplicates from Unsorted Text | | Eliminating duplicate entries from a
history file. |
14.3.7 Extracting Programs from Texinfo Source Files | | Pulling out programs from Texinfo source
files. |
14.3.8 A Simple Stream Editor | | |
14.3.9 An Easy Way to Use Library Functions | | A wrapper for awk that includes
files. |
A.1 Major Changes Between V7 and SVR3.1 | | The major changes between V7 and System V
Release 3.1. |
A.2 Changes Between SVR3.1 and SVR4 | | Minor changes between System V Releases 3.1
and 4. |
A.3 Changes Between SVR4 and POSIX awk | | New features from the POSIX standard. |
A.4 Extensions in the Bell Laboratories awk | | New features from the Bell Laboratories
version of awk . |
A.5 Extensions in gawk Not in POSIX awk | | The extensions in gawk not in
POSIX awk . |
A.6 Major Contributors to gawk | | The major contributors to gawk . |
B.1 The gawk Distribution | | What is in the gawk distribution. |
B.1.1 Getting the gawk Distribution | | How to get the distribution. |
B.1.2 Extracting the Distribution | | How to extract the distribution. |
B.1.3 Contents of the gawk Distribution | | What is in the distribution. |
B.2 Compiling and Installing gawk on Unix | | Installing gawk under various
versions of Unix. |
B.2.1 Compiling gawk for Unix | | Compiling gawk under Unix. |
B.2.2 Additional Configuration Options | | Other compile-time options. |
B.2.3 The Configuration Process | | How it's all supposed to work. |
B.3 Installation on Other Operating Systems | | |
B.3.1 Installing gawk on an Amiga | | |
B.3.2 Installing gawk on BeOS | | |
B.3.3 Installation on PC Operating Systems | | Installing and Compiling gawk on
MS-DOS and OS/2. |
B.3.3.1 Installing a Prepared Distribution for PC Systems | | Installing a prepared distribution. |
B.3.3.2 Compiling gawk for PC Operating Systems | | Compiling gawk for MS-DOS, Win32,
and OS/2. |
B.3.3.3 Using gawk on PC Operating Systems | | Running gawk on MS-DOS, Win32 and
OS/2. |
B.3.4 How to Compile and Install gawk on VMS | | Installing gawk on VMS. |
B.3.4.1 Compiling gawk on VMS | | How to compile gawk under VMS. |
B.3.4.2 Installing gawk on VMS | | How to install gawk under VMS. |
B.3.4.3 Running gawk on VMS | | How to run gawk under VMS. |
B.3.4.4 Building and Using gawk on VMS POSIX | | Alternate instructions for VMS POSIX. |
B.4 Unsupported Operating System Ports | | Systems whose ports are no longer
supported. |
B.4.1 Installing gawk on the Atari ST | | |
B.4.1.1 Compiling gawk on the Atari ST | | Compiling gawk on Atari. |
B.4.1.2 Running gawk on the Atari ST | | Running gawk on Atari. |
B.4.2 Installing gawk on a Tandem | | |
B.5 Reporting Problems and Bugs | | |
B.6 Other Freely Available awk Implementations | | Other freely available awk
implementations. |
C.1 Downward Compatibility and Debugging | | How to disable certain gawk
extensions. |
C.2 Making Additions to gawk | | Making Additions To gawk . |
C.2.1 Adding New Features | | Adding code to the main body of |