Aide Linux - Liste de diffusion Ze-Linux
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell]
Avec un caractere d'échappement ? "\"
Le Mardi 19 Août 2003 17:29, fbelhamel a écrit :
> 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
----------------------------------
Informations, désabonnement, règles, obligations sur la liste Aide-Linux :
http://lists.ze-linux.org/howto_ml.html
- References:
- [shell]
- From: fbelhamel <fbelhamel@laposte.net>
Aide Linux - Liste de diffusion Ze-Linux