blob: 27c8c65041f6cdc0cbe35aa1c5d622e04adc379b [file] [log] [blame]
Denis Vlasenkoafd7a8d2008-10-09 16:29:44 +00001# external program
2a=b /bin/true
3env | grep ^a=
4
5# builtin
6a=b true
7env | grep ^a=
8
9# exec with redirection only
10# in bash, this leaks!
11a=b exec 1>&1
12env | grep ^a=
13
14echo OK