Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Bug in banghist-like expansions?
- X-seq: zsh-users 14903
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Bug in banghist-like expansions?
- Date: Fri, 26 Feb 2010 20:58:39 +0100
- 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
Hey list,
Here's something I'm finding odd:
[snip]
zsh% : /foo/bar
zsh% print !$:s/\//l/
print lfoo/bar
lfoo/bar
zsh% baz=/foo/bar
zsh% print ${baz:s/\//l/}
zsh: unrecognized modifier
zsh% print ${baz:s,/,l,}
lfoo/bar
[snap]
I couldn't find a limitation in the manual about escaping the delimiter
in such expansions in `zshexpn(1)'. Is this a bug or am I missing
something?
Regards, Frank
--
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
-- RFC 1925
Messages sorted by:
Reverse Date,
Date,
Thread,
Author