The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
pipe output of grep to 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
:
pipe output of grep to sed?
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
07-01-2009
vikas_kesarwani
Registered User
Join Date: Jul 2008
Posts: 17
You can try this:
grep replace |
sed
's/replace/perpleaxed/g'
Or you want to relpace line then;
grep replace |
sed
's/I want to replace text/I am perplexed/g'
vikas_kesarwani
View Public Profile
Find all posts by vikas_kesarwani
Find vikas_kesarwani's past nominations received
Find vikas_kesarwani's present nominations given