News for hackers. Stuff that matters.
Re:Bash process substitution by jkbyc on Sunday February 08, 2015 @12:44PM (#9017848)
I sometimes use it to do parallel greps on large files:

  zcat large_file.gz | tee >(grep -F pattern1 > pattern1_results.txt) >(grep -F pattern2 > pattern2_results.txt) > /dev/null
If you stick _pv_ between zcat and tee you can even get nice info about the progress.
Re:Bash process substitution by geoka9 on Sunday February 08, 2015 @01:11PM (#9017942)
That's a powerful idea, thanks!