db7f4c203b
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
15 lines
228 B
Plaintext
Executable File
15 lines
228 B
Plaintext
Executable File
# check that first assignment has proper effect on second one
|
|
|
|
(
|
|
a=a A=$a
|
|
echo a=$a A=$A
|
|
)
|
|
(a=a A=$a; echo a=$a A=$A)
|
|
(a=a A=$a echo a=$a A=$A)
|
|
(a=a A=$a /bin/echo a=$a A=$A)
|
|
|
|
f() { echo a=$a A=$A; }
|
|
|
|
(a=a A=$a f)
|
|
(a=a A=$a; f)
|