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 (ATT 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
dgk...@gmail.com
m
David Korn
dgk...@gmail.com
___
ast-users mailing list
ast-users@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-users