[aclug-L] dumb sed problem
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hi, all
I have a file
#myfile
abc abcde abc abcdefg abc abcde
abc abc abcdef abce
I want to use sed to replace the exact word "abc" to
"ijk",
sed 's/abc/ijk/g' myfile
it replace all to the ijk, but I only want abc
like
#myfile
ijk abcde ijk abcdefg ijk abcde
ijk ijk abcdef abce
Thanks.
Mav
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
-- This is the discussion@xxxxxxxxx list. To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi
- [aclug-L] dumb sed problem,
Maverick <=
|
|