]> git.saurik.com Git - apple/shell_cmds.git/blob - sh/tests/expansion/plus-minus8.0
shell_cmds-203.tar.gz
[apple/shell_cmds.git] / sh / tests / expansion / plus-minus8.0
1 # $FreeBSD: head/bin/sh/tests/expansion/plus-minus8.0 219623 2011-03-13 20:02:39Z jilles $
2
3 set -- 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'