Guest User

Untitled

a guest
Aug 1st, 2012
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. search in shell
  2. Title: [name of component]
  3. **garbage output**
  4. **garbage output**
  5. Test run: succuess 17 failure 2
  6. **garbage output**
  7. **garbage output**
  8.  
  9. cat output | sed -e 'm/Tests run(.*)/g'
  10.  
  11. grep -E '^Title:|^Test run' fileName
  12.  
  13. grep -E '^Title:|^Test run' fileName | egrep -v '^Title: foo XXX|^Title:bar XXX'
Advertisement
Add Comment
Please, Sign In to add comment