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

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

 



> Well you know, not the whole world revolves around Linux.

Indeed -- the market "revolves" around Windows. The world of the free
desktops *does* revolve around Linux. And yes, there are others, which
I have used in the past myself (all the BSDs). Any responsible action
should take into account the demographics of the user base, not the
fondness for certain niches.

> And while there are pecularities, writing shell scripts
> using IEEE Std 1003.1-2001 as a baseline is a good starting point
> for achieving portability since most modern Unix or Unix-like OS

Personally I have always strived to do so...

> /bin/sh == bash might be common among Linux distros, however in
> the real world it is neither a de-facto standard nor guaranteed

I know this. As much as you might enjoy it, you're preaching to the
choir :) I was **only** arguing that the Debian / Ubuntu transition to
dash was premature (for both Debian and dash) and improperly handled.

> In the real world software tends to have bugs, other shells have
> bugs, too. Given its resources dash is relatively well-
> maintained, bugs reported on this list are getting addressed.

Eh, not my 2 bugs. One was unanswered by Ubuntu, the other by this
very mailing list. I've since encountered several other good bug
candidates, but chose to rewrite my scripts and work around errors
without digging deeper. What can one do? Even if dash fixes something
today, it'll be several years before one can be sure that the old
version is flushed out of 90% of the desktops...

Now, when you are the default Debian shell, I think the "given its
resources" argument should never, ever be opened. Otherwise one would
be tempted to ask whether dash is suitable for its role...


-- Dan
--
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