bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interesting bug


From: Chet Ramey
Subject: Re: Interesting bug
Date: Sun, 13 Feb 2022 14:28:52 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.0

On 2/12/22 5:20 PM, David Hobach wrote:
Thanks a lot for the detailed explanations, much appreciated!

So essentially it's no bug - just a rather uncommon choice of keywords.

I still don't agree with that choice since it can be abused to somewhat hide code in pull requests to less experienced maintainers, but oh well... there's probably enough fun to be had with unicode et al already. And I guess the more modern tastes are relatively recent in the history of bash.

You may not agree with the choice of `{' and `}' as reserved words instead
of operators, but that choice is at least 45 years old from the time Bourne
made it. He probably had his own backwards compatibility concerns: scripts
that used `{' and `}' as `normal' unquoted arguments that would have been
broken by making them operators.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]