Bsh/tests/subshells/multiple_variables.sh

10 lines
137 B
Bash
Raw Permalink Normal View History

2022-02-08 17:50:03 +00:00
a=12
b=13
c=14
d=15
e=16
echo "$a $b $c $d $e"
(echo "$a $b $c $d $e"; a=21; c=41; e=61; echo "$a $b $c $d $e";)
echo "$a $b $c $d $e";