projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
sh: Fix some parameter expansion variants ${#...}.
[dragonfly.git]
/
tools
/
regression
/
bin
/
sh
/
expansion
/
plus-minus8.0
1
# $FreeBSD: src/tools/regression/bin/sh/expansion/plus-minus8.0,v 1.1 2011/03/13 20:02:39 jilles Exp $
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'