xref: /freebsd/bin/sh/tests/expansion/plus-minus8.0 (revision 5748b897da441d1f10e1fe0c39155ea33d6d383a)
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