sed'u iti face replace la un string...

sed -e 's/text_de_inlocuit/'text_inlocuit'/g' 
/path_to_file_to_modify/file.in > /path_to_file_modified/file.out


----- Original Message ----- 
From: "Bogdan Rotariu" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, March 16, 2005 12:17 PM
Subject: [rlug] replace in fisiere


> Salut,
>        Am o lista foarte mare de fisiere, care contin un anumit cuvant,
> vreau sa-i fac replace in toate fara sa le modific manual.
>        Cum as putea face asta?
>
>
>
> Multumesc.
>
> ..........................................................................
> Privileged/Confidential Information may be contained in this message.
> If you are not the addressee indicated in this message (or responsible
> fordelivery of the message to such person), you may not copy or deliver
> this message to anyone. In such a case, you should destroy this message
> and kindly notify the sender by reply e-mail.
>
> --- 
> Detalii despre listele noastre de mail: http://www.lug.ro/
>
>
> 


--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui