gawk: Programs Summary
1
1 11.4 Summary
1 ============
1
1 * The programs provided in this major node continue on the theme that
1 reading programs is an excellent way to learn Good Programming.
1
1 * Using '#!' to make 'awk' programs directly runnable makes them
1 easier to use. Otherwise, invoke the program using 'awk -f ...'.
1
1 * Reimplementing standard POSIX programs in 'awk' is a pleasant
1 exercise; 'awk''s expressive power lets you write such programs in
1 relatively few lines of code, yet they are functionally complete
1 and usable.
1
1 * One of standard 'awk''s weaknesses is working with individual
1 characters. The ability to use 'split()' with the empty string as
1 the separator can considerably simplify such tasks.
1
1 * The examples here demonstrate the usefulness of the library
1 functions from ⇒Library Functions for a number of real (if
1 small) programs.
1
1 * Besides reinventing POSIX wheels, other programs solved a selection
1 of interesting problems, such as finding duplicate words in text,
1 printing mailing labels, and finding anagrams.
1