Timeline for Why do I need to quote variable for if, but not for echo?
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 22, 2013 at 1:22 | history | tweeted | twitter.com/#!/StackUnix/status/304763177764265984 | ||
| Feb 21, 2013 at 19:17 | answer | added | Blrfl | timeline score: 3 | |
| Feb 21, 2013 at 16:28 | comment | added | jordanm |
If you don't quote a variable to used as an arg to echo, extra spaces and newlines would be stripped.
|
|
| Feb 21, 2013 at 15:41 | vote | accept | CharlesB | ||
| Feb 21, 2013 at 14:05 | answer | added | user | timeline score: 7 | |
| Feb 21, 2013 at 14:00 | answer | added | Stéphane Chazelas | timeline score: 41 | |
| Feb 21, 2013 at 13:57 | answer | added | Hauke Laging | timeline score: 0 | |
| Feb 21, 2013 at 13:48 | answer | added | h3rrmiller | timeline score: 1 | |
| Feb 21, 2013 at 13:37 | history | asked | CharlesB | CC BY-SA 3.0 |