On 2/20/24 1:55 AM, Michał Górny wrote:
>> +if [[ ${DISTUTILS_USE_PEP517} = meson-python ]]; then
>
> We use '==' throughout.I'm sorry to hear that. Would you like a patch to remove it everywhere else? :) Shell is a complex language to get consistently right already. The double equals is almost-offensively redundant and pointless -- its implementation is to be an exact alias for a single equals. It causes muscle memory to be more likely to accidentally use this bashism in #!/bin/sh scripts, it provides zero benefit, and the cherry on top is that it takes up possibly-valuable real estate from your screen width and causes (uncompressed) scripts to be (trivially) larger. I wish Chet would repent of having added it and make bash issue a bash-level warning on stderr if it encounters one in your scripts. -- Eli Schwartz
OpenPGP_0x84818A6819AF4A9B.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
