Aide Linux - Liste de diffusion Ze-Linux
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell]



On Tue, 2003-10-07 at 15:29, fbelhamel wrote:
> oui je sais faire une boucle et puis c'est impecable ca marche du
> tonnere, merci beaucoup pour ton aide
> 
> Olivier Kaloudoff a écrit:
> > On Tue, 7 Oct 2003, fbelhamel wrote:
> > 
> >   
> > > bonjour 
> > > 
> > > je voudrais savoir comment je pourrais remplacer les homedirectory par une url
> > > 
> > > avant j' ai ca
> > >     
> > > > /www/perso/b/e/s/t/i/a/l/bestial/index.html
> > > > /www/perso/c/o/k/a/l/i/a/u/s/cokaliaus//index.htm
> > > > /www/perso/t/o/t/o/toto/images.html
> > > > /www/perso/g/a/l/a/b/galab/fic.htm
> > > > 
> > > > 
> > > > je veut ca
> > > > http://perso.com/bestial/index.html
> > > > http://perso.com/cokaliaus/index.html
> > > > http://perso.com/toto/images.html	
> > > > http://perso.com/galab/fic.htm
> > > >       
> > 
> > echo /www/perso/g/a/l/a/b/galab/fic.htm | awk -F'/' '{ print 
> > "http://perso.com/"$(NF-1)"/"$NF }'
> > 
> > http://perso.com/galab/fic.htm
> > 
> > 
> > Tu sais faire une boucle en shell ?


Je n'ai pas compris, ce que tu voulais, mais je vois que quelqu'un t'a
répondu.

c'etait quoi le but de cette opération ?

Merci


_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France

----------------------------------
Informations, désabonnement, règles, obligations sur la liste Aide-Linux :
http://lists.ze-linux.org/howto_ml.html


Aide Linux - Liste de diffusion Ze-Linux