Either do not depend on such patterns (i.e., use @samp{/^(.*foo|bar)/},
or use a simple test to reject such AWK@.
+@acronym{AIX} version 5.1 limits on the maximal length of regular
+expressions and literal strings in the program to 399.
+
@item @command{cat}
@c ----------------
_ATEOF
# " 1 42 45 " => "^(1|42|45);".
- echo "$at_help_all" |
- awk 'BEGIN {
- for (n = split("'"$at_groups"'", a); n; n--) selected[[a[n]]] = 1
+ echo "$at_groups$as_nl$at_help_all" |
+ awk 'NR == 1 {
+ for (n = NF; n; n--) selected[[$n]] = 1
FS = ";"
+ next
}
{
if (selected[[$ 1]]) {