Shashibhushan Gokhale's blog
My observations, nothing more
Search This Blog
Pages
Home
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'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment