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