Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug in banghist-like expansions?
- X-seq: zsh-users 14904
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Bug in banghist-like expansions?
- Date: Fri, 26 Feb 2010 23:47:59 +0000
- In-reply-to: <871vg74vm8.fsf@xxxxxxxxxxxxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <871vg74vm8.fsf@xxxxxxxxxxxxxxxxxxxxxx>
I found a similar oddity I'll fix at the same time:
% fud=one/two
% print ${fud:s,/,\&,}
one/two
No, that should quote the ampersand. It already works in double quotes:
% print "${fud:s,/,\&,}"
one&two
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author