polachok's projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
sh: Sync with FreeBSD:
[dragonfly.git]
/
tools
/
regression
/
bin
/
sh
/
expansion
/
plus-minus8.0
1
# $FreeBSD: head/tools/regression/bin/sh/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'