Shashibhushan Gokhale's blog
My observations, nothing more
Search This Blog
Pages
Home
Showing posts with label
unix shell scripting
.
Show all posts
Showing posts with label
unix shell scripting
.
Show all posts
Wednesday, February 24, 2010
Piping Commands - Find, Grep, Sed
I wanted to perform sed on output of grep. Found that the webpage:
http://www.liamdelahunty.com/tips/piping_commands_find_grep_sed.php
matches my requirement.
The following command worked:
$ grep SHASHI rscd.log | sed 's/.*SHASHI/SHASHI/g'
Older Posts
Home
Subscribe to:
Posts (Atom)