bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sed


From: srinivas murthy
Subject: sed
Date: Wed, 29 Dec 2004 23:49:58 -0800 (PST)

How can work the following scenario:

assuming the test below:
This is onetext that needs 
to be one file that need not 
be deleted oneanother.


Now I want to replace the "one" with "two" 
if I use 
sed -e s/one/two/g
it will replace even "oneanother" to "twoanother"

I want to replace only words "one" with "two"( means
exact macth of one)

Hope I am clear .

Thanks
Srinivasa Murthy
Tech Associate,
Mahindra British Telecom Ltd,
Mumbai, India.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]