[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
11. Advanced Features of gawk
Write documentation as if whoever reads it is a violent psychopath who knows where you live.
Steve English, as quoted by Peter Langston
This chapter discusses advanced features in gawk
.
It’s a bit of a “grab bag” of items that are otherwise unrelated
to each other.
First, a command-line option allows gawk
to recognize
nondecimal numbers in input data, not just in awk
programs.
Then, gawk
’s special features for sorting arrays are presented.
Next, two-way I/O, discussed briefly in earlier parts of this
Web page, is described in full detail, along with the basics
of TCP/IP networking. Finally, gawk
can profile an awk
program, making it possible to tune
it for performance.
Adding New Built-in Functions to gawk
,
discusses the ability to dynamically add new built-in functions to
gawk
. As this feature is still immature and likely to change,
its description is relegated to an appendix.
11.1 Allowing Nondecimal Input Data | Allowing nondecimal input data. | |
11.2 Controlling Array Traversal and Array Sorting | Facilities for controlling array traversal and sorting arrays. | |
11.3 Two-Way Communications with Another Process | Two-way communications with another process. | |
11.4 Using gawk for Network Programming | Using gawk for network programming.
| |
11.5 Profiling Your awk Programs | Profiling your awk programs.
|
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |