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