bugGNU Parallel - Bugs: bug #59964, --pipepart --group-by

 
 

bug #59964: --pipepart --group-by

Submitted by:  Ole Tange <tange>
Submitted on:  Thu 28 Jan 2021 10:55:53 PM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Thu 28 Jan 2021 10:55:53 PM UTC, original submission:  

It ought to be possible to do --bin/--shard--group-by with --pipe-part.

  min=line 1
  max=last line
  If h(min) == h(max): Increase block size.
  middle=(min+max)/2
  If -n:
    1=1
    # find exactly n changes
    for 1..n+1:
      l=find_change(l,max)
    # The line before
    l=l-1
  else:
    # Find a single change anywhere in block
    if h(middle) == h(min) or h(middle) != h(max):
      # search for changing value up
      binsearch(middle,max)
    else
      binsearch(min,middle)

Ole Tange <tange>
Project 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)
  •  

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

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.7