ksh93 --version
ksh93 from update 2 prints:
version sh (AT&T Research) 93t+ 2009-10-12
You may use this version check in your scripts:
if (( .sh.version >= 20091012 )) ; then echo "good" ; else echo "bad" ; fi
2009/11/5 Vladimir Kotal <Vladimir.Kotal at sun.com>:
> Vladimir Kotal wrote:
>>
>> ????? ???????????? wrote:
>>>
>>> Use /bin/ksh93 instead of /bin/ksh
>>
>> Hm, but /bin/ksh93 is a hardlink to /usr/lib/isaexec so copying actually
>> causes havoc.
>
> 'cp /usr/bin/i86/ksh93 /usr/bin/ksh' seemed to do the trick. The test suite
> still works after that, phew.
>
> Now, is there a way how to tell the shell I am running is indeed ksh93
> update 2 ? (is there a version string somewhere ?)
>
>
> v.
>
--
, _ _ ,
{ \/`o;====- Olga Kryzhanovska -====;o`\/ }
.----'-/`-/ olga.kryzhanovska at gmail.com \-`\-'----.
`'-..-| / Solaris/BSD//C/C++ programmer \ |-..-'`
/\/\ /\/\
`--` `--`