blob: cad2c6e99bb713964de40240569428e4d77ca9d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
FOO=bar cat < <(echo $FOO:1; echo $FOO:2)
echo after: --${FOO}--
unset FOO
FOO=global
FOO=bar cat < <(echo $FOO:1; echo $FOO:2)
echo after: --${FOO}--
unset FOO
FOO=bar read x < <(echo -n $FOO:1; echo $FOO:2)
echo after: --${FOO}--
echo x = $x
|