Originally Posted by ReaperX7
Link Nawk calls to gawk using a symlink:
ln -s /bin/gawk /bin/nawk
Something you may want to consider is actually getting nawk
("New AWK") from Brian Kernighan's Home page at http://www.cs.princeton.edu/~bwk/
; the name AWK
is for its three creators, Alfred Aho, Peter Weinberger and Brian Kernighan. New AWK, nawk
, dates from c. 1988 and augments "original AWK" (also "old" AWK) -- both are usually installed on Solaris machines and oawk
is generally symlinked to /bin/awk
. GNU AWK (gawk
is pretty much look-work-alike nawk
(but not 100%).
CDE, standard equipment in Solaris for a long, long time (probably still is), does directly call nawk
and is optimized for it (you might have to twiddle something for gawk
and, hey, why bother if you can have the original).
It downloads, build easily, and there you go (it builds to an a.out
which you just move:
and there you go.
Hope this helps some.