[pacman-dev] [PATCH 1/2] Changing [ to [[ and ((
Jeff
jeff at kcaccess.com
Fri Nov 13 07:28:25 EST 2009
On Thu, Nov 12, 2009 at 06:29:11PM -0500, Isaac Good wrote:
>
> I left the test as && because there was no compelling reason to change
> it.
I've been reading the various [ ( vs [[ (( threads and still cannot find
a compelling reason for any of it. It makes the code much less readable
to the people who have been writing portable or semi-portable scripts
for years. Makepkg doesn't require sh portability, but seeing all the
back and forth questions, I'd say it doesn't require the extra confusion
and opacity. It seems clear that even the majority of respondents have
different ideas of what the proper syntax should be whereas with the old
way, people read it and just know what it is doing. If I am missing
something, could someone please enlighten me? Thanks!
--
Jeff
My other computer is an abacus.
More information about the pacman-dev
mailing list