[olug] Text search and Replace

Terry td3201 at yahoo.com
Tue Nov 25 19:43:42 UTC 2003


haha, that's about the only bit of advice I can give
and it wasn't even good advice.  :)

http://omaha.pm.org/
^ To save a google hit for other wannabe's.

--- Jay Hannah <jay at jays.net> wrote:
> 
> On Tuesday, November 25, 2003, at 10:52 AM, Terry
> wrote:
> > lots of ways to do it, here is a 1-liner for you:
> > perl -i.backup -pe 's/foo/bar/' filename
> 
> > --- Jeff Norton <jnorton at jggt.com> wrote:
> >> I want to search a directory on my computer and
> replace certain text
> >> within documents with a new text.
> 
> Watch our Terry. When I see folks posting Perl
> advice to OLUG I tend to 
> pester them to join Omaha Perl Mongers. Lucky for
> you we haven't had a 
> meeting this month because I'm
> 
>     /(too|2) (laz|bus)y\./
> 
> Damn, I amuse me. -grin-
> 
> Jay Hannah
> Omaha Perl Mongers: http://omaha.pm.org
> 
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug


=====
Terry

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


More information about the OLUG mailing list