----- Original Message ----- From: "lonely wolf" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, March 16, 2005 12:54 PM Subject: [rlug] Re: replace in fisiere
> Razvan Stoica wrote: > >>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 >> >> >> >> >>>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 ? >>> > 1. sed mai nou stie de -i ( 'in-place replace') > 2. exista utilitare specializate pt chestia asta. de pilda turma > (http://turma.sourceforge.net/software/turma/index.html), kfilereplace > (http://kfilereplace.sourceforge.net/) da, aplicatiile astea m-ar ajuta dar nu am interfata grafica pe boxul respectiv, si nici timpul necesar sa mut/copii fisierile :/ > > > > --- > Detalii despre listele noastre de mail: http://www.lug.ro/ > > > > .......................................................................... 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/
