Tu as reçu pas mal de solutions déjà.

Pourrais-tu lister celles que tu as déjà essayées et si elles
fonctionnes ?

Si aucune ne fonctionne, pourrais-tu transcrire un exemple de ton
script ?

merci

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 :-)
> 
> Même symptôme, il applique la commande sur chaque partie du nom
> séparément.
> 
> Merci,
-- 
Best regards,

Fred.

\  /
 \/__ T e n d
 /\      Frédéric Descamps
/  \     Senior Linux Consultant 
         RedHat Certified Engineer  - MySQL Core & Pro Certified
-------------------------------------------------------------------------------
(o-                                          Linux Rules
//\                                      No HTML in emails
V_/_                             http://www.x-tend.be/~fred
-------------------------------------------------------------------------------

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________________
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

Répondre à