Gentoo Archives: gentoo-dev

From: Roy Marples <uberlord@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Modular texlive eclasses up for review
Date: Tue, 09 Oct 2007 12:38:29
Message-Id: 1191931234.7550.5.camel@uberlaptop.marples.name
In Reply to: Re: [gentoo-dev] Modular texlive eclasses up for review by Alexis Ballier
1 On Tue, 2007-10-09 at 13:17 +0200, Alexis Ballier wrote:
2 > > if [ "${f/config/}" != "${f}" ]
3 > > Should be
4 > > if [ "${f#*config*}" != "${f}" ]
5 >
6 > changed that one, the "semantics" looks better indeed; what is wanted
7 > here is to exclude $f containing "config". Am I missing something when
8 > I understand it as the exact same thing but more readable ?
9
10 The former is bash specific, the later is POSIX. Both do different
11 things though.
12
13 Thanks
14
15 Roy
16
17 --
18 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Modular texlive eclasses up for review Francesco Riosa <BastianBalthazarBux@×××××××××.it>