Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash loop local variable

The while-loop is executed in a subshell, so changes to the variable 
 inside the while-loop won't affect the external variable.
Source by www.google.com #
 
PREVIOUS NEXT
Tagged: #bash #loop #local #variable
ADD COMMENT
Topic
Name
4+8 =