Re: Geez - is Solaris /usr/bin/awk brain dead or what?

From: Kenny McCormack (gazelle_at_yin.interaccess.com)
Date: 09/12/04


Date: Sun, 12 Sep 2004 13:38:38 GMT

In article <41440164$1@news.012.net.il>,
Aharon Robbins <arnold@skeeve.com> wrote:
...
>If the program uses ?:, Kenny, you have little choice except to use
>/bin/nawk or /usr/xpg4/bin/nawk. On the Solaris systems I've seen, they're
>different binaries. The latter, for example, should support CONVFMT.

No, one always has the choice of not using ?:.

>BTW, is it really all that hard to put
>
> #! /usr/xpg4/bin/awk -f
>
>at the top of the script?

It is not an option. As I mentioned in an earlier post, the point is that
the program is big, ugly, and was written long ago (about 7 years) by
idiots who didn't know that you should never use /usr/bin/awk on Solaris.
But changing it at this point is not an option. In the process of
modifying it, I wanted to use ?:, but it is just as easy not to use it.