NetBSD-Bugs archive

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

Re: bin/48489 (sh(1) allows trailing && and ||)



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

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/48489 (sh(1) allows trailing && and ||)
Date: Mon, 2 May 2016 01:03:17 +0000

 On Wed, Apr 06, 2016 at 02:32:47AM +0000, dholland%NetBSD.org@localhost wrote:
  > No. Accepting invalid syntax is still a bug -- sooner or later it causes
  > a problem where an invalid script is accidentally accepted and then breaks
  > elsewhere later.
 
 btw, as I had vaguely thought, this isn't hypothetical. The motivation
 for filing the PR was this:
 
 http://mail-index.netbsd.org/pkgsrc-changes/2014/01/02/msg099418.html
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index