It seems that ksh's "printf %R" is producing wrong results for negated
glob-patterns:
$ printf "%R\n" "!(*bak)"
^(.*bak)!$
$ echo $'abc\nabcbak\ndef' | grep -E '^(.*bak)!$'
...empty result...
I'm aware that a conversion of a negation glob to regexp is not trivial to
implement,
but I'd like to know: Is this a known issue, and are there plans to fix that?
Thanks!
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users