Guest User

Untitled

a guest
Feb 12th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. grep -i "my_regex"
  2.  
  3. This is the test data
  4. This is the error data as follows
  5. . . .
  6. . . . .
  7. . . . . . .
  8. . . . . . . . . .
  9. Error data ends
  10.  
  11. . . .
  12. . . . .
  13. . . . . . .
  14. . . . . . . . . .
  15. Error data ends
  16.  
  17. grep -i -B 10 'error' data
  18.  
  19. grep -i -A 10 'error data'
  20.  
  21. grep -i -A 10 "my_regex"
Add Comment
Please, Sign In to add comment