The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: using sed
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 03-17-2008
vadharah vadharah is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 27
using sed stream ediditor

Quote:
Originally Posted by Tytalus View Post
How about just adding a space or two...:


Code:
 sed -e 's/Foot /Play /g' -e 's/ foot / play /g'
Thanx!!! that seems to do the trick...is there any way i can improve it to say for example notify me that there is a similar word but it is part of another word?