Gentoo Archives: gentoo-user

From: Francesco Talamona <ti.liame@×××××.it>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: shell script
Date: Tue, 18 Apr 2006 05:45:23
Message-Id: 200604180741.09099.ti.liame@email.it
In Reply to: [gentoo-user] shell script by scwang@ios.ac.cn
1 On Tuesday 18 April 2006 07:34, scwang@××××××.cn wrote:
2 > In a shellp script, let
3 > STRING="a.txt b.txt c.txt"
4 > And I want to delete a sub-string from $STRING, for example
5 > b.txt, and then we got
6 > $STRING is "a.txt c.txt"
7 >
8 > How to achieve it?
9
10 http://www.tldp.org/LDP/abs/html/string-manipulation.html
11
12 ciao
13 Francesco
14 --
15 Linux Version 2.6.16-gentoo-r2, Compiled #1 PREEMPT Thu Apr 13 07:09:30
16 CEST 2006
17 One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4416.05 Bogomips Total
18 aemaeth
19 --
20 gentoo-user@g.o mailing list