Aide Linux - Liste de diffusion Ze-Linux
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[shell]
j'ai remplace via sed dans un fichier les espace par un ? mais quand je
fait un cat via une boucle for il me les supprimes
avant la boucle
/www/perso/p/r/o/t/h/proth/Etape?2.html
/www/perso/p/r/o/t/h/proth/Etape?3.html
/www/perso/p/r/o/t/h/proth/Etape?4.html
/www/perso/p/r/o/t/h/proth/Etape?5.html
/www/perso/p/r/o/t/h/proth/Etape?6.html
/www/perso/p/r/o/t/h/proth/Etape?7.html
/www/perso/p/r/o/t/h/proth/Etape?8.html
/www/perso/p/r/o/t/h/proth/Etape?9.html
apres cette boucle
for i in $(cat ficmodif.log)
do
echo $i
done
il apparait ca
/www/perso/p/r/o/t/h/proth/Etape 2.html
/www/perso/p/r/o/t/h/proth/Etape 3.html
/www/perso/p/r/o/t/h/proth/Etape 4.html
/www/perso/p/r/o/t/h/proth/Etape 5.html
/www/perso/p/r/o/t/h/proth/Etape 6.html
/www/perso/p/r/o/t/h/proth/Etape 7.html
/www/perso/p/r/o/t/h/proth/Etape 8.html
/www/perso/p/r/o/t/h/proth/Etape 9.html
comme faire pour garder les ?
----------------------------------
Informations, désabonnement, règles, obligations sur la liste Aide-Linux :
http://lists.ze-linux.org/howto_ml.html
- Follow-Ups:
- Re: [shell]
- From: Black Eagle <black.eagle@easynet.be>
- Re: [shell]
- From: Cédric Godin <cedric.godin@skynet.be>
Aide Linux - Liste de diffusion Ze-Linux