DASH Shell discussions
 help / color / mirror / Atom feed
From: Guido Berhoerster <guido+kernel.org@berhoerster.name>
To: "David A. Wheeler" <dwheeler@dwheeler.com>
Cc: dash@vger.kernel.org
Subject: Re: [PATCH] Allow == as synonym for = in test
Date: Tue, 8 Mar 2011 01:05:57 +0100	[thread overview]
Message-ID: <20110308000557.GC5987@wopr.local.invalid> (raw)
In-Reply-To: <E1PwjSv-0004ZG-3B@fenris.runbox.com>

* David A. Wheeler <dwheeler@dwheeler.com> [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

  reply	other threads:[~2011-03-07 23:59 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-06 23:01 [PATCH] Allow == as synonym for = in test David A. Wheeler
2011-03-06 23:48 ` Jonathan Nieder
2011-03-07  1:12   ` David A. Wheeler
2011-03-07 10:34     ` Guido Berhoerster
2011-03-07 14:55       ` David A. Wheeler
2011-03-07 17:18         ` Guido Berhoerster
2011-03-07 17:37           ` Dan Muresan
2011-03-07 22:00         ` Jonathan Nieder
2011-03-07 23:03           ` David A. Wheeler
2011-03-08  0:05             ` Guido Berhoerster [this message]
2011-03-08  0:03               ` Eric Blake
2011-03-08  7:17               ` Dan Muresan
2011-03-08 15:27                 ` Paul Smith
2011-03-08 15:53                   ` Dan Muresan
2011-03-08 18:13                 ` Guido Berhoerster
2011-03-08 18:43                   ` Dan Muresan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110308000557.GC5987@wopr.local.invalid \
    --to=guido+kernel.org@berhoerster.name \
    --cc=dash@vger.kernel.org \
    --cc=dwheeler@dwheeler.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox