Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

command substitution gets confused by case parens



According to POSIX, I think, the following should work.

print $(case $TEST in
 abc)
 echo a   
 ;;            
 def)
 echo b   
 ;;   
esac)
zsh: parse error near `;;'



Messages sorted by: Reverse Date, Date, Thread, Author