bin/125855: sh(1) allows for multiline, non-escaped control structures (and thus isn't POSIX compliant)

Jilles Tjoelker jilles at stack.nl
Fri Apr 10 04:00:14 PDT 2009


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

From: Jilles Tjoelker <jilles at stack.nl>
To: bug-followup at FreeBSD.org, gcooper at FreeBSD.org,
	freebsd-standards at FreeBSD.org
Cc:  
Subject: Re: bin/125855: sh(1) allows for multiline, non-escaped control
	structures (and thus isn't POSIX compliant)
Date: Fri, 10 Apr 2009 12:58:53 +0200

 > [ sh allows ! <newline> <command> ]
 
 I would consider this an extension to the standard, which sh(1) is free
 to implement. Removing the extension, possibly gratuitously breaking
 scripts, seems a bad idea.
 
 The script is what should be fixed.
 
 -- 
 Jilles Tjoelker


More information about the freebsd-standards mailing list