NetBSD-Bugs archive

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

Re: bin/52410: Please make test support == as a syonym for =



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

From: Joerg Sonnenberger <joerg%bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: bin/52410: Please make test support == as a syonym for =
Date: Sun, 16 Jul 2017 18:29:19 +0200

 On Sun, Jul 16, 2017 at 11:40:00AM +0000, coypu%sdf.org@localhost wrote:
 > >Description:
 > For other programming languages, = is used for assignment and == for equality, and people often try ==.
 > other shells support this, so the authors of other scripts won't see the breakage, only we will.
 
 As long as they don't commit to this silly bug in POSIX, I'm against it.
 It's a completely pointless ksh/bashism. It took a while for even GNU
 tools to "support" it consistently.
 
 Joerg
 


Home | Main Index | Thread Index | Old Index