bugGNU Parallel - build and execute command lines from standard input in parallel - Bugs: bug #44896, --shuf shuffle jobs

 
 

bug #44896: --shuf shuffle jobs

Submitted by:  Ole Tange <tange>
Submitted on:  Tue 21 Apr 2015 09:27:03 PM UTC  
 
Category: NoneSeverity: 1 - Wish
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Ole Tange <tange>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 29 Apr 2015 07:56:36 PM UTC, comment #1:

Fixed in [1b54fefc1].

Ole Tange <tange>
Project AdministratorIn charge of this item.
Tue 21 Apr 2015 09:27:03 PM UTC, original submission:

For a single argument that is easy:

cat args | shuf | parallel ...

But with multiple args that is impossible:

parallel ... ::: (shuf args) ::: (shuf args)

as that will not shuffle jobs but take the first shuffled arg from first input source and combine that will all the other input sources args before going to the next arg.

--shuf will generate all jobs and shuffle them

This is useful to get a quick feedback before running the full batch.

Ole Tange <tange>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 29 Apr 2015 07:56:36 PM UTCtangeStatusNone=>Fixed
      Assigned toNone=>tange
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1