bugGNU Parallel - build and execute command lines from standard input in parallel - Bugs: bug #47501, --xapply for some input sources

 
 

bug #47501: --xapply for some input sources

Submitted by:  Ole Tange <tange>
Submitted on:  Tue 22 Mar 2016 05:15:52 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.

 

Sat 26 Mar 2016 09:50:48 AM UTC, comment #3:

Implemented partly in [1cad1cf9].
Currently does not support wrapping of values.
The shorter input source sets the limit.

Ole Tange <tange>
Project AdministratorIn charge of this item.
Tue 22 Mar 2016 05:26:24 PM UTC, comment #2:

parallel echo ::: a b :::+ aa bb ::: d e :::+ dd ee

a aa d dd
a aa e ee
b bb d dd
b bb e ee

Ole Tange <tange>
Project AdministratorIn charge of this item.
Tue 22 Mar 2016 05:16:48 PM UTC, comment #1:

My suggestion for syntax would be to introduce a modifier on the
argument separator. Something like +:

parallel myscript ::: A B ::: C D E :::+ F G H

And if the input source is a file:

parallel myscript ::: A B ::: C D E ::::+ fgh-file

The idea being that :::+ links the following input source to the
previous --xapply style.

Normal --xapply would then be possible to do like this:

parallel myscript ::: C D E :::+ F G H

Ole Tange <tange>
Project AdministratorIn charge of this item.
Tue 22 Mar 2016 05:15:52 PM UTC, original submission:
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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 26 Mar 2016 09:50:48 AM UTCtangeStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Tue 22 Mar 2016 05:16:48 PM UTCtangeSeverity3 - Normal=>1 - Wish
      StatusNone=>Confirmed
      Assigned toNone=>tange

    Back to the top


    Powered by Savane 3.1-cleanup1