xref: /freebsd/bin/sh/tests/expansion/plus-minus8.0 (revision d8a0fe102c0cfdfcd5b818f850eff09d8536c9bc)
1# $FreeBSD$
2
3set -- 1 2 3 4 5 6 7 8 9 10 11 12 13
4[ "${#+hi}" = hi ] || echo '${#+hi} wrong'
5[ "${#-hi}" = 13 ] || echo '${#-hi} wrong'
6