sh(1) fails to correctly parse a "case" conditional inside a $(...) command substitution:
syntax error: `case' unmatched
Example script below:
------------------------------------------------------------------------
#!/bin/sh
echo $(
case $1 in
hello)
echo "english";;
bonjour)
echo "french";;
esac
)
------------------------------------------------------------------------
[5.8-current]
--
Christian "naddy" Weisgerber [email protected]
