From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21578 invoked by alias); 26 Feb 2010 20:05:14 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 14903 Received: (qmail 25744 invoked from network); 26 Feb 2010 20:05:12 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.2.5 Received-SPF: none (ns1.primenet.com.au: domain at bewatermyfriend.org does not designate permitted sender hosts) From: Frank Terbeck To: zsh-users@zsh.org Subject: Bug in banghist-like expansions? User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Date: Fri, 26 Feb 2010 20:58:39 +0100 Message-ID: <871vg74vm8.fsf@ft.bewatermyfriend.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Df-Sender: 430444 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