igawk で使う AWK プログラムは gawk と同じであるが、 カレントディレクトリまたは検索パスのディレクトリにあるファイル getopt.awk をインクルードするために、
@include getopt.awk
cat << EOF > test.awk @include getopt.awk BEGIN { while (getopt(ARGC, ARGV, "am:q") != -1) ... } EOF igawk -f test.awk
Effective AWK Programming, Edition 1.0, published by the Free Software Foundation, 1995.
[man1]
[man2]
[man3]
[man4]
[man5]
[man6]
[man7]
[man8]
[a]
[b]
[c]
[d]
[e]
[f]
[g]
[h]
[i]
[j]
[k]
[l]
[m]
[n]
[o]
[p]
[q]
[r]
[s]
[t]
[u]
[v]
[w]
[x]
[y]
[z]