Variable will not stay set after being modified inside of a PIPE while loop
2266
Why is my variable local in one 'while read' loop, but not in another seemingly similar loop?
108270
Reading number from file into variable -- How to put a number into my document that increments with every compilation?
70909
Segmentation fault occurring when modifying a string using pointers?
1462
UnboundLocalError on local variable when reassigned after first use
123288
Dynamically set local variable
114130
Why does a while loop stop after being suspended?
94300
Why does the Replace() string method not modify my string variable?
151869
What's the scope of a variable initialized in an if statement?
108994
How can I get around declaring an unused variable in a for loop?
62241
How do I set a variable to the output of a command in Bash?
133649
Passing values through pipes
35269
While loop stops reading after the first line in Bash
46141
Why does my Bash counter reset after while loop
148729
While loop not breaking when condition is met
97545
Using =+ won't work in for loop
15790
Accessing variables with the same name at different scopes
126789
Read user input inside a loop