projects
/
oweals
/
busybox.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
hush: fix ${##}, ${#?}, ${#!} handling
[oweals/busybox.git]
/
shell
/
hush_test
/
hush-vars
/
var_preserved.tests
1
export a=b
2
3
# external program
4
a=c /bin/true
5
env | grep ^a=
6
7
# builtin
8
a=d true
9
env | grep ^a=
10
11
# exec with redirection only
12
# in bash, this leaks!
13
a=e exec 1>&1
14
env | grep ^a=
15
16
echo OK