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