Le Lundi 8 Août 2005 15:16, Jean-Claude Garaud a écrit :
> Je ne sais pas s'il y en a de meilleures : en tout cas très efficace
> :)

Eh bien, si, il y a mieux :) Sed n'est pas du tout utile, les capacités 
de bash suffisent :

c="fref25dfrf63fdfr45"
for n in $(echo ${c//[^0-9]/ })
do
  echo $n
done


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


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

Répondre à