mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-21 05:43:51 -07:00
Added read/export as variable modifying commands for subshells
This commit is contained in:
parent
e251e4a04f
commit
90c1b63790
3 changed files with 35 additions and 8 deletions
|
@ -1,2 +1,2 @@
|
|||
echo cow | while read foo; do DIR=$foo; done
|
||||
echo $DIR
|
||||
echo cow | read foo
|
||||
echo "$foo"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue