aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/sh/tests/expansion/plus-minus8.0
blob: dd7e7703fee15b98be27a50c50c54b583b023106 (plain) (blame)
1
2
3
4
5
# $FreeBSD: head/bin/sh/tests/expansion/plus-minus8.0 219623 2011-03-13 20:02:39Z jilles $

set -- 1 2 3 4 5 6 7 8 9 10 11 12 13
[ "${#+hi}" = hi ] || echo '${#+hi} wrong'
[ "${#-hi}" = 13 ] || echo '${#-hi} wrong'