Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: PATCH: Re: More incompatibility (word splitting)
- X-seq: zsh-workers 13493
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "Zsh hackers list" <zsh-workers@xxxxxxxxxx>
- Subject: RE: PATCH: Re: More incompatibility (word splitting)
- Date: Fri, 16 Feb 2001 11:50:51 +0300
- Importance: Normal
- In-reply-to: <1010216074307.ZM16574@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
>
> Here's the patch as I'm willing to commit it right now. I'm going to be
> out of town all next week, so I'm not going to be able to mess with it
> any further, and I don't want to put something really broken into CVS
> right before I disappear.
>
Does it really fix two described incompatibilities? O
bor@itsrm2% Src/zsh
bor@itsrm2% setopt shwordsplit
bor@itsrm2% foo=$'foo\nbar'
bor@itsrm2% print "$foo"
foo
bar
bor@itsrm2% bar=${1-$foo}
bor@itsrm2% print "$bar"
foo bar <= wrong
bor@itsrm2% set "a b c" 1 2
bor@itsrm2% print -l ${1+"$@"}
a
b
c
1
2
bor@itsrm2% exit
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author