Added subshell variable detection cases
This commit is contained in:
parent
d2b258434d
commit
da8ab3322c
|
@ -0,0 +1,7 @@
|
|||
for f in *
|
||||
do
|
||||
echo "Processing: $f"
|
||||
done | tee log
|
||||
|
||||
echo "Done. Last processed was $f."
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
( a=3; )
|
||||
a=4;
|
||||
echo "$a"
|
Loading…
Reference in New Issue