diff options
1 files changed, 8 insertions, 3 deletions
| -rwxr-xr-x | csg | 11 |
@@ -82,9 +82,14 @@ isCommand() { if [ -n "$CSG_AWK" ] then : -elif isCommand 'gawk' -then - CSG_AWK='gawk --posix' +elif isCommand 'gawk' # GNU awk +then CSG_AWK='gawk --posix' +elif isCommand 'mawk' # Fast byte-code interpreter awk (by Mike Brennan) +then CSG_AWK='mawk -W posix' +elif isCommand 'nawk' # One true awk (by Brian Kernighan) +then CSG_AWK='nawk' +elif isCommand 'awk' # Original or other awk +then CSG_AWK='awk' else echo '[Error] Couldn'\''t find an awk implementation!' csg_help 4 |
