Re: [PATCH] Allow == as synonym for = in test

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

 



* David A. Wheeler <dwheeler@xxxxxxxxxxxx> [2011-03-08 00:03]:
> Dan Muresan:
> > ...the crusade against "bashisms" has broken so many scripts and wasted so
> > many man-hours for Debian / Ubuntu users.

The hard work of many Debian maintainers fixing broken shell
scripts and pushing these changes upstream is certainly not
wasted time but a great service to other platforms as well by
improving portability. If you want bash or ksh scripts to work
why do you use dash?

> Right.  Many existing scripts depend on "==", not "=", and its implementation is trivial.

That is a very weak argument as it applies to many such features,
the question is whether to create precendent here and where that'll
go.

-- 
Guido Berhoerster
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux