From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IfEkH-0004FQ-8Z for garchives@archives.gentoo.org; Tue, 09 Oct 2007 13:03:33 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l99CqZZx001288; Tue, 9 Oct 2007 12:52:35 GMT Received: from mail.pnpitalia.it (85-18-21-122.ip.fastwebnet.it [85.18.21.122]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l99CnH7f028716 for ; Tue, 9 Oct 2007 12:49:17 GMT Received: from localhost (localhost [127.0.0.1]) by mail.pnpitalia.it (Postfix) with ESMTP id 9A22225CE69 for ; Tue, 9 Oct 2007 14:49:16 +0200 (CEST) X-Virus-Scanned: amavisd-new at monfi.pnpitalia.it Received: from mail.pnpitalia.it ([192.168.4.35]) by localhost (mail.monfi.pnpitalia.it [192.168.4.35]) (amavisd-new, port 10024) with LMTP id RaeumjTs9sid for ; Tue, 9 Oct 2007 14:49:08 +0200 (CEST) Received: from [192.168.4.35] (unknown [192.168.4.35]) by mail.pnpitalia.it (Postfix) with ESMTP id 1368F25CE67 for ; Tue, 9 Oct 2007 14:49:08 +0200 (CEST) Message-ID: <470B78C1.40006@pnpitalia.it> Date: Tue, 09 Oct 2007 14:49:05 +0200 From: Francesco Riosa User-Agent: Thunderbird 2.0.0.6 (X11/20070819) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Modular texlive eclasses up for review References: <20071008234731.721a24e5@toz.strangled.net> <20071009010317.3515901b@toz.strangled.net> <1191914011.2619.7.camel@uberpc.marples.name> <20071009131746.4fcfba57@toz.strangled.net> <1191931234.7550.5.camel@uberlaptop.marples.name> In-Reply-To: <1191931234.7550.5.camel@uberlaptop.marples.name> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 1f316379-090a-49de-9cfe-d155b0feb196 X-Archives-Hash: e82bb8676dc2fafcc884addc51be9336 Roy Marples ha scritto: > On Tue, 2007-10-09 at 13:17 +0200, Alexis Ballier wrote: > >>> if [ "${f/config/}" != "${f}" ] >>> Should be >>> if [ "${f#*config*}" != "${f}" ] >>> Should be if [ "${f#*config}" != "${f}" ] the 2nd asterisk is not needed, symmetry apart >> changed that one, the "semantics" looks better indeed; what is wanted >> here is to exclude $f containing "config". Am I missing something when >> I understand it as the exact same thing but more readable ? >> > > The former is bash specific, the later is POSIX. Both do different > things though. > > Thanks > > Roy > > -- gentoo-dev@gentoo.org mailing list