bugGNU Parallel - Bugs: bug #45479, --pipe/--pipepart --tee

 
 

bug #45479: --pipe/--pipepart --tee

Submitter:  Ole Tange <tange>
Submitted:  Mon 06 Jul 2015 06:17:58 AM UTC
   
 
Category:  None Severity:  1 - Wish
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  tange
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 05 Feb 2017 01:48:14 AM UTC, comment #4: 

Implemented for --pipe, not --pipepart.

Fixed in [c028fa0].

Ole Tange <tange>
Group administrator
Sat 04 Feb 2017 10:04:27 AM UTC, comment #3: 

Must support --tag, so spawning tee is not enough.

Instead use --round-robin code but send to all running jobs.

Problem: What if number of jobs < args?

Cache on disk?

Ole Tange <tange>
Group administrator
Thu 02 Jun 2016 09:54:46 PM UTC, comment #2: 

seq 11000000 | parallel --pipe --onall 'wc > {}' ::: {1..10}

could be interpreted as:

seq 11000000 | parallel --pipe -j1 --round-robin --tty tee ">/dev/null" $(parallel --dry-run '>(wc > {})' ::: {1..10} )

Ole Tange <tange>
Group administrator
Thu 02 Jun 2016 06:35:01 AM UTC, comment #1: 

seq 11000000 | parallel --pipe -j1 --round-robin --tty pee  $(seq 10 | parallel --dry-run 'wc\ \>\ {}' )

Ole Tange <tange>
Group administrator
Mon 06 Jul 2015 06:17:58 AM UTC, original submission:  

GNU Parallel cannot pipe the stdin to several commands.

The command that needs to be executed is:

cat | tee >(cmd A > tmp 2> tmperr) >(cmd B > tmp 2> tmperr) >/dev/null

Maybe that should be run with --pipe --onall?

Ole Tange <tange>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tange (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-02-05 tange StatusNone Fixed
        Open/ClosedOpen Closed
    2017-02-04 tange Summary--pipe --onall/--nonall frontend for tee &gt;(... &gt; tmp) --pipe/--pipepart --tee

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code