18 echo $(case a in (a) echo sh_352.26ax; esac )
19 echo $(case a in (a) echo sh_352.26ay; esac)
21 echo $((echo sh_352.25a);(echo sh_352.25b))
23 echo $(echo sh_352.27 ')' ")" \)
28 echo abc # a comment with )
49 echo $(for f in \); do echo a; done )
50 echo $(case a in a) echo sh_352.26a; esac )
51 echo $(case a in a) echo sh_352.26a; esac)
78 echo $(( 4<(2+3) ? 1 : 32))
90 k=$(case x in x) echo k;; esac)
95 example) echo foobix;;
120 recho "wx$(echo abcde)yz"
121 recho "$(echo abcde)"
167 case x in x) echo x;; esac
171 case x in (x) echo x;; esac
179 echo comment # with )
190 here-doc terminated with a parenthesis
196 ' # or a single back- or doublequote
200 ${THIS_SH} ./comsub-posix1.sub
202 ${THIS_SH} ./comsub-posix2.sub
204 ${THIS_SH} ./comsub-posix3.sub
206 # produced a parse error through bash-4.0-beta2
209 # produced a parse error through bash-4.1
213 # a comment with " ' \
218 # fixed after bash-4.0 released
219 : $(case a in a) echo ;; # comment
222 # fixed after bash-4.3 released
224 echo test | while read line; do
226 test) echo saw test ;;
232 # recommended to be parsed as a nested comsub instead of arithsub
233 echo $(( echo ab cde ) )