jipe a écrit :
quid de ceci?

[EMAIL PROTECTED] ~]$ set -- ${c//[^0-9]/ }; echo $# nombres: $*
3 nombres: 25 63 45

Merci Jipe pour cette leçon de bash concis et efficace :)


--
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 à