Quoting David Pintor <[EMAIL PROTECTED]>:

Par exemple, si je fais la commande suivante:

$ sed 's/toto/titi/g' index.php > index.php

il me vide carrement l'index.php. Si je fais la redirection vers un autre
fichier (index2.php, par exemple) ça se passe bien.

sed -i 's/toto/titi/g' index.php

Arnaud


Linux-Azur :      http://www.linux-azur.org
Désinscriptions: http://www.linux-azur.org/liste.php3
**** Pas de message au format HTML, SVP ****

Répondre à