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 <>
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, 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:
 David A. Holland

Home | Main Index | Thread Index | Old Index