On Wednesday 16 March 2005 12:17, Bogdan Rotariu wrote:
> 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?

perl -i -pe 's/ce/cu ce/g' /dir
g inseamna ca o sa-ti modifce toate 'gasirile' din fisierul respectiv - aka 
replace all

>
>
> 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/

-- 
+ Lorin
+ I tought I taw a putty cat...I did! I did taw a putty cat!
+ http://si-bemol.ro

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


Raspunde prin e-mail lui