xref: /freebsd/bin/sh/tests/expansion/cmdsubst19.0 (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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