xref: /freebsd/bin/sh/tests/expansion/cmdsubst23.0 (revision 72143e89bb430c3b1406b399b810806904f6c882)
1# $FreeBSD$
2
3unset n
4x=abcd
5[ "X${n#$(echo a)}X${x#$(echo ab)}X$(echo abc)X" = XXcdXabcX ]
6