Carol Fields writes:
> James Carlson wrote:
> > Don Cragun writes:
> >> /usr/gnu/bin/awk
> >> (symlink to ../../bin/gawk)
> >
> > Why is there no /usr/gnu/bin/iawk or /usr/gnu/bin/pawk? Are the
> > [ip]gawk variants Solaris-specific?
> >
>
> In /usr/bin, the component package installs awk which is a symlink to gawk.
> Because GNU /usr/bin/awk conflicts with Solaris /usr/bin/awk, the symlink
> /usr/gnu/bin/awk will be installed. The component package doesn't install
> /usr/bin/iawk or /usr/bin/pawk; there is no conflict, and
> neither /usr/gnu/bin/iawk nor /usr/gnu/bin/pawk will be installed.
If avoiding a conflict for 'awk' is the only intent, then why are
these installed as 'igawk' and 'pgawk'? Why do they need 'g' as well?
I don't understand what the GNU environment is supposed to look like
here. What I *think* I see is that a standard Solaris user will see
these:
gawk
igawk
pgawk
A GNU environment (/usr/gnu/bin first on PATH) will see this these
things as GNU awk:
awk
igawk
pgawk
The question is this: why does the GNU user see 'awk' as expected,
without having to type 'g' to get it, but then has to add in a
superfluous 'g' in order to access those other two variants?
Is this inconsistent layout (with "awk" plus "[ip]gawk") common on
other GNU distributions?
--
James Carlson, Solaris Networking <james.d.carlson at sun.com>
Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677