catman should execute nawk
catman currently uses ancient "awk", which has some rather unfortunate line limitations. (One could argue that it is time for awk to be replaced by nawk....)
catman itself is kind of crufty.... and needs an overhaul, but using a modern awk would be a good start.
Updated by Garrett D'Amore over 11 years ago
Well, xpg4/bin/awk is not delivered as part of the base set, so I'm a bit more cautious about making catman depend on it.
That said, I thought nawk was xpg4/awk, but I now see the binaries at least are different. We have source for both xpg4/awk and nawk, as well as oawk. I don't understand why we have three different versions here.
Perhaps its time to consolidate to just one?
What am I missing? What does nawk provide that xpg4/awk doesn't? Or vice versa?
Updated by Yuri Pankov over 9 years ago
Reginald Beardsley wrote:
Why not just use "The One True Awk"?
As for the many awks issue, does anyone know of anything that depends upon old awk syntax and/or semantics?
nawk IS "One True Awk" (a bit dated though).