From: Jonathan Nieder <jrnieder@gmail.com>
To: "David A. Wheeler" <dwheeler@dwheeler.com>
Cc: dash@vger.kernel.org, guido+kernel.org@berhoerster.name
Subject: Re: [PATCH] Allow == as synonym for = in test
Date: Mon, 7 Mar 2011 16:00:49 -0600 [thread overview]
Message-ID: <20110307220048.GE15732@elie> (raw)
In-Reply-To: <E1Pwbqm-00056z-0V@garm.runbox.com>
Hi David,
David A. Wheeler wrote:
> But is "==" a misfeature? I don't think so.
For what it's worth, I have no strong objections to "==" (though no
great excitement about it either). I was only taking the opportunity
to explain the possibly mysterious-seeming current feature set.
> Jonathan Nieder said that dash "tends to support features [of] ash".
> Busybox ash is *also* an ash, as shown in this family tree:
I suppose you misunderstood. dash decends from the original ash.
Sometimes features disappear --- then they tend to be gone for good.
Backward compatibility of the kind I was describing is meant to
facilitate upgrades.
> There was only one negative comment that I remember, and it
> primarily noted that == is not in dash and FreeBSD.
That comment was by a contributor to both of those projects, and I
seem to remember it noting _why_ "==" is not in dash and FreeBSD
yet.
> If the POSIX
> group will never add new capabilities until dash adds them,
I don't think that's the case. If your goal is to advance this in
POSIX, I don't think implementing in dash is a necessary prerequisite.
> There's value in "lean and mean", but this is a few bytes we're
> talking about, for a feature that is already widely used.
Anyway, I suppose Herbert can decide whether it's worth applying
the patch, now that the explaining has been taken care of.
My (personal) advice is to wait. Presumably soon we will know whether
== is to be part of the "test" builtin in POSIX or is going to be
allowed in "[[" only.
Kind regards,
Jonathan
next prev parent reply other threads:[~2011-03-07 22:00 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 [this message]
2011-03-07 23:03 ` David A. Wheeler
2011-03-08 0:05 ` Guido Berhoerster
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=20110307220048.GE15732@elie \
--to=jrnieder@gmail.com \
--cc=dash@vger.kernel.org \
--cc=dwheeler@dwheeler.com \
--cc=guido+kernel.org@berhoerster.name \
/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.