|
Re: lug-bg: search and replace
- Subject: Re: lug-bg: search and replace
- From: gf@email.domain.hidden (Georgi Chorbadzhiyski)
- Date: Thu, 06 Mar 2003 09:27:29 +0200
Peter An. Zyumbilev wrote:
<em class="quotelev1">> Zdraveite,
<em class="quotelev1">> ima li niakakav tool koito da tarsi vav vsichi filove v opredela direktoria
<em class="quotelev1">> i v neinite subdirektorii za opredel text "text1" i da go ZAMESTVA s
<em class="quotelev1">> "text2". Pod windows tova go pravi s Macromedia homesite ..problema e pod
<em class="quotelev1">> debian server-a(no X) kak da go pravia ?Ako beshe prosto search s grep
<em class="quotelev1">> iasno...
<em class="quotelev1">> Po princip vijdam kak ste sten na perl am triabva da ima nesto gotovo
<em class="quotelev1">> ......vse pak toplata voda......
perl -pi 's/Some Text/Some Other Text/' `find -name '*.html'`
Some Text e regex.
<p>
--
Georgi Chorbadzhiyski
http://georgi.unixsol.org/
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|