[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mandrake-confirme
Subject:    [Confirme] =?ISO-8859-15?Q?Re=3A_=5BConfirme=5D_Re=3A_=5BConfirme=5D_?=
From:       Christophe Gaubert <christophe-gaubert () wanadoo ! fr>
Date:       2005-07-26 11:42:03
Message-ID: 42E6218B.9080904 () wanadoo ! fr
[Download RAW message or body]

Jean-Claude Garaud a écrit :
> Mais 
> expr et regex ç'est vraiment tordu : le sujet gagnerait à être plus 
> développé.

C'est vrai que la manipulation des chaines de caractères, c'est assez 
imbuvable.

> 
> J'ai trouvé ça aussi pour utiliser une variable pour la sous-chaîne : bien 
> utile dans un script :
> c=neige
> echo $(expr "$a" : \.\*$c)

Ah merci, je me demandais justement comment faire !


-- 
Christophe Gaubert
http://perso.wanadoo.fr/christophe.gaubert
Mail posté depuis un système libre GNU/Linux



["message.footer" (text/plain)]

____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic