From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3/2) with ESMTP id CAA24401 for ; Sat, 22 Jun 1996 02:02:41 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id LAA02501; Fri, 21 Jun 1996 11:33:18 -0400 (EDT) Resent-Date: Fri, 21 Jun 1996 11:33:18 -0400 (EDT) From: Zefram Message-Id: <14295.199606211518@stone.dcs.warwick.ac.uk> Subject: Re: quoting bug To: hniksic@srce.hr (Hrvoje Niksic) Date: Fri, 21 Jun 1996 16:18:13 +0100 (BST) Cc: zsh-workers@math.gatech.edu In-Reply-To: from "Hrvoje Niksic" at Jun 21, 96 04:43:13 pm X-Loop: zefram@dcs.warwick.ac.uk X-Stardate: [-31]7693.18 X-US-Congress: Moronic fuckers MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"iuJZR.0._c.u2ion"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1411 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu >Zefram (A.Main@dcs.warwick.ac.uk) wrote: >> POSIX requires the SH_WORD_SPLIT behaviour. It also requires field >> splitting in normal words, as well as the result of expansions: Actually it appears that it doesn't. It's been a while since I read this area of the standard, but as I had specifically looked up this issue I thought I had remembered it correctly. I think it would be nice to implement this kind of field splitting anyway (predicated on SH_WORD_SPLIT, and have POSIX_FIELD_SPLIT to get POSIX behaviour). >What do you think of setting shwordsplit when the environmental >variable POSIXLY_CORRECT is set? I think that we should have a POSIX emulation mode ("emulate posix"). It would be nice to use it by default if invoked as sh with POSIXLY_CORRECT set in the environment. We are going to need a couple of options for POSIX conformance that contradict sh and ksh compatibility. -zefram