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