Pipe and background execution
I'm trying to find if it's possible to execute multiple commands that use pipes to feed output from one to another in a background. Example:
grep Hello file0 | cut -c10-20 | grep -v bye > file1
Such combinations as :
grep Hello file0 | cut -c10-20 | grep -v bye > file1 &
grep Hello file0 & | cut -c10-20 | grep -v bye > file1
do not seem to work. I'm trying to start multiple processes like this at the same time from the for loop so they will be executed in parallel. Could anyone give me a hint how to achieve this?