Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: quoting bug
- X-seq: zsh-workers 1411
- From: Zefram <A.Main@xxxxxxxxxxxxxxxxx>
- To: hniksic@xxxxxxx (Hrvoje Niksic)
- Subject: Re: quoting bug
- Date: Fri, 21 Jun 1996 16:18:13 +0100 (BST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <kign31xusji.fsf@xxxxxxxxxxxxx> from "Hrvoje Niksic" at Jun 21, 96 04:43:13 pm
>Zefram (A.Main@xxxxxxxxxxxxxxxxx) 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author