Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: destructive list-expand
- X-seq: zsh-workers 14354
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: destructive list-expand
- Date: Tue, 15 May 2001 15:05:32 +0000
- In-reply-to: <1010515144108.ZM12147@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <200105151418.QAA10209@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1010515144108.ZM12147@xxxxxxxxxxxxxxxxxxxxxxx>
On May 15, 2:41pm, Bart Schaefer wrote:
} Subject: Re: destructive list-expand
}
} schaefer<507> echo "${(M)${(f)$(<=(print -l *))}:#*conf*}"<C-x g>
} [expansion elided]
} schaefer<507> echo ${(M)${(f)$(<=(print -l *))}:#*conf*}"
}
} Now the leading quote has been removed, but the trailing quote is there.
} (They used to both disappear.)
Just to be clear ... both of them disappearing is wrong too, of course.
Why is it ever correct to delete quotes _anywhere_?
Here's an even worse error:
schaefer<510> echo '${(@M)${(f)$(<=(print -l *))}:#*conf*}'<C-x g>
schaefer<510> echo ${(@M)${(f)$(<=(print -l *))}:#*conf*}
Now both *single* quotes are gone. Bad news.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author