On Wed, 2006-01-25 at 13:44 +0100, Rémi Letot wrote:
> On Wed, 2006-01-25 at 13:20 +0100, Xavier Mertens wrote:
> > Si je comprends bien, tes fichiers sont dans le fichier 'liste'?
> 
> oui
> 
> > Un fichier par ligne?
> 
> oui
> 
> 
> > Essaye ca:
> > 
> > cat liste | while read NAME
> > do
> >     ma_commande "$NAME"
> > done
> 
> perdu :-)

argh, panne de cerveau, copier coller qu'a pas passé les "" autour de
$NAME, j'ai corrigé et maintenant ça marche.

Désolé pour le bruit, j'avais essayé avec ' mais pas avec ", pourtant
c'est évident quand on a la solution... 

Merci à tous,
-- 
Rémi

_______________________________________________________
Linux Mailing List - http://www.unixtech.be
Subscribe/Unsubscribe: http://lists.unixtech.be/cgi-bin/mailman/listinfo/linux
Archives: http://www.mail-archive.com/linux@lists.unixtech.be
IRC: chat.unixtech.be:6667 - #unixtech
NNTP: news.gname.org - gmane.org.user-groups.linux.unixtech

Reply via email to