Re: Geez - is Solaris /usr/bin/awk brain dead or what?
From: Kenny McCormack (gazelle_at_yin.interaccess.com)
Date: 09/12/04
- Next message: Oxmard: "use ps to determine the percentage of time a process is using a CPU"
- Previous message: Dave: "Re: Solaris 9 Install on 220R - Bad Magic number on boot cdrom"
- In reply to: Aharon Robbins: "Re: Geez - is Solaris /usr/bin/awk brain dead or what?"
- Next in thread: UNIX admin: "Re: Geez - is Solaris /usr/bin/awk brain dead or what?"
- Reply: UNIX admin: "Re: Geez - is Solaris /usr/bin/awk brain dead or what?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Oxmard: "use ps to determine the percentage of time a process is using a CPU"
- Previous message: Dave: "Re: Solaris 9 Install on 220R - Bad Magic number on boot cdrom"
- In reply to: Aharon Robbins: "Re: Geez - is Solaris /usr/bin/awk brain dead or what?"
- Next in thread: UNIX admin: "Re: Geez - is Solaris /usr/bin/awk brain dead or what?"
- Reply: UNIX admin: "Re: Geez - is Solaris /usr/bin/awk brain dead or what?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]