I posted a question about ksh pattern matching stuff early today.
Actually, I am not use it right. Sorry for the mistake. Thanks to Jim
[[ work = $exclude ]] && print excluded
The print is executed on AIX 433, but not on AIX 5.1 or SunOS 5.9.
Looking at the original AT&T ksh book by David Korn, on pg 156 under
Conditional Commands, in the [[ ... ]] section, it says
"ksh expands the operands(s) for each conditional expression primitive
for command substitution, parameter expansion, and quote removal as
required to evaluate the command."
To me, this means it should be expanding $exclude before it interprets
it as a pattern. And this is certainaly The Right Thing To Do. What
am I missing?