Subject: Re: [ast-users] [[ -v x.MAX ]] returns 0 if x is an integer variable --------
> The -v test operand does not work for i.MAX if i is a constant of an > integer type: > ksh -c 'integer i; [[ -v i.MAX ]] && echo "var is there"' > > Language version is the latest: > ksh --version > version sh (AT&T Research) 93v- 2013-09-23 > > Tina > This is correct. i.MAX is an arithmetic constant whose value is MAX for the typeof variable i. It is not a variable. David Korn [email protected] m David Korn [email protected] _______________________________________________ ast-users mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-users
