NetBSD-Bugs archive

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

Re: bin/44733: [PATCH] Have test/[ accept "==" as a synonym for "="



The following reply was made to PR bin/44733; it has been noted by GNATS.

From: "Valeriy E. Ushakov" <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/44733: [PATCH] Have test/[ accept "==" as a synonym for "="
Date: Thu, 17 Mar 2011 16:08:41 +0300

 On Thu, Mar 17, 2011 at 11:05:03 +0000, Jukka Ruohonen wrote:
 
 > On Thu, Mar 17, 2011 at 10:40:03AM +0000, Robert Elz wrote:
 >
 > >  That said, == is just plain stupid, was never needed, and should
 > >  definitely NOT be added to either /bin/test or /bin/sh in NetBSD.
 >
 > Why?
 
 Why would we want to?  Compatibility with bash?  But non-trivial bash
 scripts quite often have other bashisms in them, so anyone who depends
 on running bash scripts is probably better served by just installing
 bash package.
 
 (And no, I'm not a bash basher.  I've been using it as my shell since
 1992 or so).
 
 -uwe
 


Home | Main Index | Thread Index | Old Index