From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8682 invoked from network); 3 Sep 2003 20:30:15 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 3 Sep 2003 20:30:15 -0000 Received: (qmail 29791 invoked by alias); 3 Sep 2003 20:29:56 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6520 Received: (qmail 29777 invoked from network); 3 Sep 2003 20:29:56 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 3 Sep 2003 20:29:56 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [66.93.131.57] by sunsite.dk (MessageWall 1.0.8) with SMTP; 3 Sep 2003 20:29:55 -0000 Received: from lorien.emufarm.org (localhost [127.0.0.1]) by lorien.emufarm.org (8.12.7/8.12.7) with ESMTP id h83KTskI026393 for ; Wed, 3 Sep 2003 13:29:54 -0700 Received: (from duvall@localhost) by lorien.emufarm.org (8.12.7/8.12.7/Submit) id h83KTrXF026392 for zsh-users@sunsite.dk; Wed, 3 Sep 2003 13:29:53 -0700 Date: Wed, 3 Sep 2003 13:29:53 -0700 From: Danek Duvall To: zsh-users@sunsite.dk Subject: Behavior change in ${...//...} Message-ID: <20030903202953.GB19734@lorien.emufarm.org> Mail-Followup-To: Danek Duvall , zsh-users@sunsite.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i Between 4.0.x and 4.1.1, the requirements to quote a "/" in the replacement part of a ${name//pattern/repl} expression changed from two backslashes to one. The new syntax doesn't work in the old versions and vice versa. When did this change, and why? Is the best way to work around this to put the replacement string in a variable? Thanks, Danek