The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
using sed
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
using sed
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
03-17-2008
vadharah
Registered User
Join Date: Mar 2008
Posts: 27
Quote:
Originally Posted by
fpmurphy
Code:
sed
-e 's/Foot/Play/g' -e 's/foot/play/g'
i have tried this but words like football r being affected i need football to remain unchanged only change foot where the word is not part of another word
vadharah
View Public Profile
Find all posts by vadharah
Find vadharah's past nominations received
Find vadharah's present nominations given