From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23240 invoked from network); 11 Sep 2006 17:37:55 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 11 Sep 2006 17:37:55 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 17939 invoked from network); 11 Sep 2006 17:37:46 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 11 Sep 2006 17:37:46 -0000 Received: (qmail 6858 invoked by alias); 11 Sep 2006 17:37:39 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10703 Received: (qmail 6848 invoked from network); 11 Sep 2006 17:37:39 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 11 Sep 2006 17:37:39 -0000 Received: (qmail 16786 invoked from network); 11 Sep 2006 17:37:39 -0000 Received: from web36815.mail.mud.yahoo.com (209.191.85.66) by a.mx.sunsite.dk with SMTP; 11 Sep 2006 17:37:36 -0000 Received: (qmail 42851 invoked by uid 60001); 11 Sep 2006 17:37:34 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4bk5xi7wpE/aJ7zOTL7752regE3yufc7VdJk0QvyOfZtxgQ5v24KebqmMOFz56OJaEw6HberTKCBxr6xZ0QF2Ew915H4IQMi3axtDk0LcxrZhNcmmcFkcPGF7x0VXSP2RSrwXn1Wq+4R5QoFEiryllmNnMOkSO562+bJW/6Lvqw= ; Message-ID: <20060911173734.42849.qmail@web36815.mail.mud.yahoo.com> Received: from [62.78.144.84] by web36815.mail.mud.yahoo.com via HTTP; Mon, 11 Sep 2006 10:37:34 PDT Date: Mon, 11 Sep 2006 10:37:34 -0700 (PDT) From: Daniel Qarras Subject: Re: A POSIX and a UTF-8 question To: zsh-users@sunsite.dk In-Reply-To: <200609111705.k8BH5Yfo016012@news01.csr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi! > > 1) There is unfortunately a bash-only expression used in RH's shell > > function library, that is =~. However, this was used only once in > > device mapper related function so that did not affect me, I just > > commented it out. YMMV. (I did not find a www description for this > but > > it can be at least checked from bash3.1 manual pages what it does. > > That's for extended regular expressions. That wouldn't be too hard > to > support, if we used the system's RE capabilities, although we'd > probably > want to do parentheses differently. However, as you say, it's > specific > to bash so isn't that vital. The bug I filed to RH is already handled. This will not change but... > > 2) It seems that many RH scripts do something like: > > > > cd /some/path > > . functions > > > > and in zsh-4.3 as /bin/sh this does not work, it needs to be: > > > > cd /some/path > > . ./functions > > Right. I think zsh has always been implemented like that. We don't > really want to change it; the standard (IEEE Std 1003.1, 2004 > Edition) says specifically: ...this has been fixed in their CVS. > I checked on my Fedora system (about Core 4, I think) and the only > init > script without a path is network: > > cd /etc/sysconfig/network-scripts > > . network-functions > > If it's still there it probably ought to be fixed. FWIW, I had tons of those in my FC5's ifup-* scripts. > It would be relatively easy to interpret these in the same fashion as > some other form of quoting. However, there's not much > internationalization in these parts and won't be without a huge > effort > and it's not clear it's worth the effort doing anything apart from > that. I agree, supporting those $"funny variables" is probably not a huge win. Thanks! __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com