From owner-freebsd-standards@FreeBSD.ORG Fri Apr 10 10:59:09 2009 Return-Path: Delivered-To: freebsd-standards@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 406661065670; Fri, 10 Apr 2009 10:59:09 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx0.stack.nl (mj0.stack.nl [IPv6:2001:610:1108:5010::187]) by mx1.freebsd.org (Postfix) with ESMTP id E389F8FC1E; Fri, 10 Apr 2009 10:59:08 +0000 (UTC) (envelope-from jilles@stack.nl) Received: by mx0.stack.nl (Postfix, from userid 65534) id 1757F2B3622; Fri, 10 Apr 2009 12:59:08 +0200 (CEST) X-Spam-DCC: : X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on toad.stack.nl X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,FAKE_REPLY_C, NO_RELAYS autolearn=no version=3.2.5 X-Spam-Relay-Country: Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mx0.stack.nl (Postfix) with ESMTP id 49F6D2B353A; Fri, 10 Apr 2009 12:59:06 +0200 (CEST) Received: by snail.stack.nl (Postfix, from userid 1677) id 97CA5228A3; Fri, 10 Apr 2009 12:58:53 +0200 (CEST) Date: Fri, 10 Apr 2009 12:58:53 +0200 From: Jilles Tjoelker To: bug-followup@FreeBSD.org, gcooper@FreeBSD.org, freebsd-standards@FreeBSD.org Message-ID: <20090410105853.GA96273@stack.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: Re: bin/125855: sh(1) allows for multiline, non-escaped control structures (and thus isn't POSIX compliant) X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2009 10:59:09 -0000 > [ sh allows ! ] 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