OK, I am getting crazy (maybe): Can anyone explain why ksh -c 'x="-a
-C" ; [[ "$x" == ~(Xlr)(.*-a.*)&(.*-C.*) ]] && print true' does not
print 'true"? Xlr selects an augmented extended regular expression,
.*-a.* should be a match, .*-C.* should be a match and & means AND.
I'm banging my head since an hour against the problem with no success.
HELP, please.
Olga
--
, _ _ ,
{ \/`o;====- Olga Kryzhanovska -====;o`\/ }
.----'-/`-/ [email protected] \-`\-'----.
`'-..-| / Solaris/BSD//C/C++ programmer \ |-..-'`
/\/\ /\/\
`--` `--`
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users