xref: /illumos-gate/usr/src/test/util-tests/tests/awk/README (revision 8a2b682e57a046b828f37bcde1776f131ef4629f)
1The following tests come from Brian Kernighan's tests collection:
2
3- data/ contains sample data used as input
4- examples/ contains example AWK programs
5    - p.* files are examples from The Awk Programming Environment (TAPE)
6    - t.* files are Kernighan's collection of useful examples
7- re/ contains tests for regular expressions
8- sub/ contains substitution tests
9- benchmarks/ contains benchmark programs
10
11The tests in gnu/ and syn/ were gathered tests from gawk's "basic" and
12"unix-tests" targets (SHA 682b4299a9fd3023211e9db09f8e258d0ffd07e6).
13Tests for the following were removed, since they aren't relevant to nawk:
14
15- Tested gawk's --lint behaviour
16- Differences between passing --traditional and not passing it
17- GNU-specific functions (like gensub, asort, asorti, and strftime)
18- GNU-specific builtins (like PROCINFO)
19- GNU-specific special variables (IGNORECASE)
20- Features that nawk doesn't support yet (like setting RS to a regex)
21