All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: "David A. Wheeler" <dwheeler@dwheeler.com>, dash@vger.kernel.org
Subject: Re: [PATCH] Allow == as synonym for = in test
Date: Mon, 07 Mar 2011 17:03:11 -0700	[thread overview]
Message-ID: <4D75723F.3030207@redhat.com> (raw)
In-Reply-To: <20110308000557.GC5987@wopr.local.invalid>

[-- Attachment #1: Type: text/plain, Size: 1224 bytes --]

On 03/07/2011 05:05 PM, Guido Berhoerster wrote:
> * 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.

Personally, I _don't_ want to see this in dash _until_ the Austin Group
makes their ruling on the pending discussion item of whether the next
version of POSIX will be requiring support for '=='.  But if the Austin
Group ultimately requires it, then we've proven that it's very easy to
add to dash at that time.

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 619 bytes --]

  reply	other threads:[~2011-03-08  0:03 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
2011-03-08  0:03               ` Eric Blake [this message]
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=4D75723F.3030207@redhat.com \
    --to=eblake@redhat.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.