Timeline for Why do we double-quote a dollar sign evaluation in Bash? [duplicate]
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 23, 2017 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 When is double-quoting necessary? | |
| Feb 23, 2017 at 22:59 | history | edited | Gilles 'SO- stop being evil' | edited tags | |
| Feb 23, 2017 at 19:43 | vote | accept | Sibbs Gambling | ||
| Feb 23, 2017 at 17:52 | answer | added | dhag | timeline score: 6 | |
| Feb 23, 2017 at 17:43 | comment | added | Kusalananda♦ | Related: unix.stackexchange.com/questions/171346/… | |
| Feb 23, 2017 at 17:36 | comment | added | Sergiy Kolodyazhnyy | there are duplicate questions on this site, but i am on mobile and cant provide one right now | |
| Feb 23, 2017 at 17:36 | comment | added | Sergiy Kolodyazhnyy | It is related to something known as word splitting. Without double quotes , varialbe which has 'hello world' stored inside will be treated as two separate items.With double quotes, it will be treated as one item. Very often word splitting is not what you as programmer want and cases where you want to avoid double quotes are rare | |
| Feb 23, 2017 at 17:33 | answer | added | user34720 | timeline score: 2 | |
| Feb 23, 2017 at 17:28 | history | asked | Sibbs Gambling | CC BY-SA 3.0 |