Timeline for Why is my variable local in one 'while read' loop, but not in another seemingly similar loop?
Current License: CC BY-SA 3.0
Post Revisions
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 1, 2020 at 20:52 | comment | added | ilkkachu | Also related: In bash, read after a pipe is not setting values | |
| Nov 24, 2018 at 23:45 | comment | added | codeforester | Similar post on Stack Overflow: A variable modified inside a while loop is not remembered. | |
| Dec 14, 2017 at 2:44 | history | edited | G-Man Says 'Reinstate Monica' | CC BY-SA 3.0 |
Fixed title; improved formatting.
|
| Nov 29, 2017 at 18:55 | answer | added | ilkkachu | timeline score: 9 | |
| Sep 26, 2015 at 23:27 | history | reopened | Gilles 'SO- stop being evil' bash Users with the bash badge or a synonym can single-handedly close bash questions as duplicates and reopen them as needed. | ||
| Jul 9, 2015 at 8:07 | history | edited | Volker Siegel | CC BY-SA 3.0 |
edited tags; edited title
|
| Aug 13, 2014 at 23:00 | history | closed | Gilles 'SO- stop being evil' bash Users with the bash badge or a synonym can single-handedly close bash questions as duplicates and reopen them as needed. | Duplicate of Piping for loop output prevents local variable modification | |
| Oct 31, 2013 at 14:11 | vote | accept | Peter.O | ||
| Oct 31, 2013 at 14:11 | |||||
| Mar 23, 2011 at 21:22 | history | edited | Gilles 'SO- stop being evil' |
edited tags
|
|
| Mar 23, 2011 at 21:21 | answer | added | Gilles 'SO- stop being evil' | timeline score: 34 | |
| Mar 23, 2011 at 15:27 | vote | accept | Peter.O | ||
| Oct 31, 2013 at 14:11 | |||||
| Mar 23, 2011 at 14:33 | answer | added | jsbillings | timeline score: 10 | |
| Mar 23, 2011 at 14:31 | history | tweeted | twitter.com/#!/StackUnix/status/50565346259779584 | ||
| Mar 23, 2011 at 14:24 | history | asked | Peter.O | CC BY-SA 2.5 |