Advertisement
Guest User

Untitled

a guest
Oct 26th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. TypeA
  2. TypeB
  3. TypeA
  4. TypeB
  5. ...
  6.  
  7. my_program -1 streamA -2 streamB
  8.  
  9. mkfifo streamA streamB
  10.  
  11. for f in *.ext;
  12.  
  13. read #this is just used to test changes when I press enter
  14.  
  15. do egrep 'TypeA_Criteria' $f >> streamA
  16. do egrep 'TypeB_Criteria' $f >> streamB
  17. done
  18.  
  19. my_prog -1 streamA -2 streamB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement