NetBSD-Bugs archive

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

Re: bin/57997: sh(1) allows an empty list in if statements



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

From: RVP <rvp%SDF.ORG@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/57997: sh(1) allows an empty list in if statements
Date: Mon, 4 Mar 2024 22:10:10 +0000 (UTC)

 On Mon, 4 Mar 2024, Robert Elz wrote:
 
 > I'm not inclined to change this unless someone can provide a
 > compelling reason why it needs to be changed - if I did change it,
 > it would likely only enforce the requirement for something to exist
 > there in posix mode.
 >
 
 OK, then this PR can be closed. (And the man-page could note that an
 empty `list' is fine after `then' for NetBSD's /bin/sh.)
 
 Thanks,
 
 -RVP
 


Home | Main Index | Thread Index | Old Index