I have a fix for this a cached value was sticky and bypassed the $PATH re-checks after the initial check
On Thu, 24 Apr 2008 15:54:24 -0700 (PDT) Don Cragun wrote: > >Utilities > > If the behavior required by POSIX.2, POSIX.2a, XPG4, SUS, or > > SUSv2 conflicts with historical Solaris utility behavior, the > > original Solaris version of the utility is unchanged; a new ver- > > sion that is standard-conforming has been provided in > > /usr/xpg4/bin. For applications wishing to take advantage of > > POSIX.2, POSIX.2a, XPG4, SUS, or SUSv2 features, the PATH (sh or > > ksh) or path (csh) environment variables should be set with > > /usr/xpg4/bin preceding any other directories in which utilities > > specified by those specifications are found, such as /bin, > > /usr/bin, /usr/ucb, and /usr/ccs/bin.