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 AAA21994 for ; Sat, 22 Jun 1996 00:43:30 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id KAA00771; Fri, 21 Jun 1996 10:18:45 -0400 (EDT) Resent-Date: Fri, 21 Jun 1996 10:18:45 -0400 (EDT) From: Zefram Message-Id: <6066.199606211417@stone.dcs.warwick.ac.uk> Subject: Re: quoting bug To: stephens@math.ruu.nl (Bruce Stephens) Date: Fri, 21 Jun 1996 15:17:10 +0100 (BST) Cc: zsh-workers@math.gatech.edu In-Reply-To: <199606211355.PAA03147@bommel.math.ruu.nl> from "Bruce Stephens" at Jun 21, 96 03:55:40 pm X-Loop: zefram@dcs.warwick.ac.uk X-Stardate: [-31]7692.97 X-US-Congress: Moronic fuckers MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"3u80e2.0.zB.4zgon"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1405 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu >> setopt SH_WORD_SPLIT > >What does POSIX say? POSIX requires the SH_WORD_SPLIT behaviour. It also requires field splitting in normal words, as well as the result of expansions: % setopt SH_WORD_SPLIT % IFS=x % echo fooxbar fooxbar $ IFS=x $ echo fooxbar foo bar I think we should implement this behaviour -- when SH_WORD_SPLIT is set, of course. It should be very easy. I also think we should retain the current default, as it's much nicer behaviour. -zefram