xref: /freebsd/bin/sh/tests/expansion/cmdsubst19.0 (revision 35c0a8c449fd2b7f75029ebed5e10852240f0865)
1
2b=200 c=30 d=5 x=4
3r=$(echo a)$(($(echo b) + ${x+$(echo c)} + ${x-$(echo d)}))$(echo e)
4[ "$r" = a234e ]
5