Subject: Re: Re: [ast-users] get & print which ksh version I am running
--------

> I am attempting to capture the version programmatically, not interactively 
> (for 
> ksh88, seems to be the only way).  I ran the following test on the boxes I 
> have 
> access to.  I don't have access to the one box with ksh93e that some of the 
> SAs 
> use.  Many don't have the 'what' command.  Interesting what some systems 
> return 
> and others don't.  Also interesting, none returned data for all methods.
> 

${.sh.version} should work for all ksh93 versions since it was in the original
version.

ksh --version will only work for recent versions as will $KSH_VERSION.

ksh88 requires that what command to get the version via programming.
The ast toolkit contains the what command.

David Korn
[email protected]
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to