xref: /freebsd/bin/sh/tests/expansion/cmdsubst18.0 (revision ca86bcf2531c7b149c95244a67853d44323e7855)
1# $FreeBSD$
2
3x=X
4unset n
5r=${x+$(echo a)}${x-$(echo b)}${n+$(echo c)}${n-$(echo d)}$(echo e)
6[ "$r" = aXde ]
7