See following example:

$ echo ${.sh.version}
Version JM 93u+ 2012-02-29
$ PS1='$( [[ foo =~ (.*) ]]; print "$ "; )'
$ [[ bar =~ (.*) ]]
$ ts -p .sh.match
typeset -a .sh.match=(foo foo)    <== ???
$
$ PS1='$ '
$ [[ bar =~ (.*) ]]
$ ts -p .sh.match
typeset -a .sh.match=(bar bar)
$
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to