Date: Fri, 21 Jan 2000 19:48:47 +0100 From: John Russell <jr@paranoia.demon.nl> To: Charles Randall <crandall@matchlogic.com> Cc: freebsd-questions@freebsd.org Subject: Re: UNIX search n replace Message-ID: <200001211848.TAA24196@gazelle.bigmama.xx> In-Reply-To: Your message of "Fri, 21 Jan 2000 10:59:44 MST." <64003B21ECCAD11185C500805F31EC0304D97722@houston.matchlogic.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Grab a Perl manual and build something along the lines of, > > % perl -i.bak -pe 's/word1/word2/g;' > > Charles > or use find . | sed s/word1/word2/g > -----Original Message----- > From: Juan Kuuse [mailto:archiver@db.geocrawler.com] > Sent: Friday, January 21, 2000 10:10 AM > To: freebsd-questions@freebsd.org > Subject: UNIX search n replace > > > This message was sent from Geocrawler.com by "Juan Kuuse" > <kuuse@quik.guate.com> > Be sure to reply to that address. > > More a common UNIX question than a FreeBSD topic: > > grep > to search a keyword multiple files > > How do I search and replace one keyword for > another in multiple files, any suggestions? > > Thanks in advance! > > Juan Kuuse > kuuse@quik.guate.com > > Geocrawler.com - The Knowledge Archive > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001211848.TAA24196>