Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 1st, 2012  |  syntax: None  |  size: 0.32 KB  |  hits: 7  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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'