On Wed, Jul 10, 2002 at 05:14:18PM +0200, Dominique Billard wrote: > Bonjour > > Est ce possible de remplacer un mot (ex toto) par un autre (ex titi)dans > plusieurs fichiers, sans les ouvrir un par un � la main.
for f in * ; do sed s/toto/titi/ $f > $f.new ; mv $f.new $f ; done Alexandre Fayolle -- LOGILAB, Paris (France). http://www.logilab.com http://www.logilab.fr http://www.logilab.org Narval, the first software agent available as free software (GPL). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

