NetBSD-Bugs archive

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

PR/48489 CVS commit: src/bin/sh



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

From: "Robert Elz" <kre%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/48489 CVS commit: src/bin/sh
Date: Mon, 9 May 2016 20:36:07 +0000

 Module Name:	src
 Committed By:	kre
 Date:		Mon May  9 20:36:07 UTC 2016
 
 Modified Files:
 	src/bin/sh: parser.c sh.1
 
 Log Message:
 PR bin/48489 -- Shell "simple commands" are now not allowed to be
 completely empty, they must have something (var assignment, redirect,
 or command, or multiple of those) to avoid a syntax error.  This
 matches the requirements of the grammar in the standard.   Correct the
 parser (using FreeBSD's sh as a guide) and update the man page to
 remove text that noted a couple of places this was previously OK.
 
 OK christos@
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.118 -r1.119 src/bin/sh/parser.c
 cvs rdiff -u -r1.121 -r1.122 src/bin/sh/sh.1
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index