mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-23 05:07:54 +00:00
Released as 20170322 ('TRAPPIST-1')
This commit is contained in:
parent
3d9baf9275
commit
86615dac7e
11
src/parallel
11
src/parallel
|
@ -272,11 +272,12 @@ sub pipe_tee_setup {
|
|||
exec "tee",@fifos;
|
||||
}
|
||||
|
||||
# cat t1 | grep 1
|
||||
# cat t2 | grep 2
|
||||
# cat t3 | grep 3
|
||||
# cat t4 | grep 4
|
||||
# cat t5 | grep 5
|
||||
# Make cats for each fifo
|
||||
# cat t1 | grep 1
|
||||
# cat t2 | grep 2
|
||||
# cat t3 | grep 3
|
||||
# cat t4 | grep 4
|
||||
# cat t5 | grep 5
|
||||
# Remove the tmpfifo as soon as it is open
|
||||
@Global::cat_prepends = map { "(rm $_;cat) < $_" } @fifos;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue