scy on Nostr: The article's title: What exactly was the point of [ “x$var” = “xval” ]? Me: ...
The article's title: What exactly was the point of [ “x$var” = “xval” ]?
Me: "Well, cargo culting for people who don't know how to quote in the shell?"
Turns out: no. There are _several_ good reasons why people did this, and the bugs it's been a workaround for have continued to exist into the 2010s.
If you're somewhat proficient in #shell scripting and/or interested in #Unix history, this is an awesome read.
https://www.vidarholen.net/contents/blog/?p=1035
#Linux #bash #sh #ksh
Me: "Well, cargo culting for people who don't know how to quote in the shell?"
Turns out: no. There are _several_ good reasons why people did this, and the bugs it's been a workaround for have continued to exist into the 2010s.
If you're somewhat proficient in #shell scripting and/or interested in #Unix history, this is an awesome read.
https://www.vidarholen.net/contents/blog/?p=1035
#Linux #bash #sh #ksh