Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: quoting bug
- X-seq: zsh-workers 1405
- From: Zefram <A.Main@xxxxxxxxxxxxxxxxx>
- To: stephens@xxxxxxxxxxx (Bruce Stephens)
- Subject: Re: quoting bug
- Date: Fri, 21 Jun 1996 15:17:10 +0100 (BST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <199606211355.PAA03147@xxxxxxxxxxxxxxxxxx> from "Bruce Stephens" at Jun 21, 96 03:55:40 pm
>> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author