The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Sed and replacing one occurence of pattern
.
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
:
Sed and replacing one occurence of pattern
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
07-16-2008
ss9u
Registered User
Join Date: Jul 2008
Posts: 4
Sed and replacing one occurence of pattern
I would like to use
sed
to replace one occurence of a pattern in a file. When I use the s/// command it replaces all occurences of the pattern in the file. Should I be using something other than
sed
?
Thanks
ss9u
View Public Profile
Find all posts by ss9u
Find ss9u's past nominations received
Find ss9u's present nominations given