Last change
on this file since 3432 was 3320, checked in by Bruno Cornec, 10 years ago |
- Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in
the move to 3.0
|
-
Property svn:executable
set to
*
|
File size:
186 bytes
|
Line | |
---|
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
|
---|
Note:
See
TracBrowser
for help on using the repository browser.