How about sed?
sed s/abdfggg/opsmsdd/g text_file
Mark
[EMAIL PROTECTED] wrote:
or try:
:g/abdfggg/s//opsmsdd/g from vi/vim
Good luck
Bob
Jack Bowling <[EMAIL PROTECTED]> wrote:
On Mon, Jan 13, 2003 at 08:21:44AM -0500, Jianping Zhu wrote:
how to substutue string in a text file by using "gerp" or "find"?
I have a text file, lof of "abdfggg" in that text file, i need to change
it to "opsmsdd", is there a simple way to do that?
Retrieve chgrep from freshmeat.net, compile and enjoy!
--
Jack Bowling
mailto: [EMAIL PROTECTED]
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list
__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp
Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list