SHARE
TWEET

grep demo

a guest Oct 8th, 2012 27 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bash-4.2$ echo 'one
  2. > Bar two Foo  
  3. > three
  4. > ' | grep -A1 'Foo' | grep -B1 'Bar' | grep 'Foo'
  5. Bar two Foo
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top