1IGAWK(1) Utility Commands IGAWK(1)
2
3
4
6 igawk - gawk with include files
7
9 igawk [ all gawk options ] -f program-file [ -- ] file ...
10 igawk [ all gawk options ] [ -- ] program-text file ...
11
13 Igawk is a simple shell script that adds the ability to have ``include
14 files'' to gawk(1).
15
16 AWK programs for igawk are the same as for gawk, except that, in addi‐
17 tion, you may have lines like
18
19 @include getopt.awk
20
21 in your program to include the file getopt.awk from either the current
22 directory or one of the other directories in the search path.
23
25 See gawk(1) for a full description of the AWK language and the options
26 that gawk supports.
27
29 cat << EOF > test.awk
30 @include getopt.awk
31
32 BEGIN {
33 while (getopt(ARGC, ARGV, "am:q") != -1)
34 ...
35 }
36 EOF
37
38 igawk -f test.awk
39
41 gawk(1)
42
43 Effective AWK Programming, Edition 1.0, published by the Free Software
44 Foundation, 1995.
45
47 Arnold Robbins (arnold@skeeve.com).
48
49
50
51Free Software Foundation Nov 3 1999 IGAWK(1)