Re:Something about functions in Bash (2017)
by yjftsjthsd-h on Thursday July 05, 2018 @08:51PM
(#17468120)
Why? () is the obvious way to get an independent subshell. I guess it's annoying if you're not used to the distinction, but it's not hard. Is it really not common knowledge?
[ Parent
| on HN ]
Re:Something about functions in Bash (2017)
by llimllib on Friday July 06, 2018 @04:27PM
(#17474850)
Because it parses, visually, EXTREMELY similarly to `{` in a place where almost everybody who programs in a brace-y language will expect a brace.
Thus most people will not notice it unless you point it out very explicitly, and it has the potential to cause great confusion.