mirror of
https://github.com/sheumann/hush.git
synced 2024-12-26 10:32:02 +00:00
15 lines
228 B
Plaintext
15 lines
228 B
Plaintext
|
# 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)
|