bugGNU Parallel - build and execute command lines from standard input in parallel - Bugs: bug #49538, --header and {= =}

 
 

bug #49538: --header and {= =}

Submitted by:  None
Submitted on:  Sat 05 Nov 2016 08:09:17 AM UTC  
 
Category: NoneSeverity: 3 - Normal
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 05 Nov 2016 07:19:34 PM UTC, comment #3:

Fixed in [e458f3545].

Ole Tange <tange>
Project AdministratorIn charge of this item.
Sat 05 Nov 2016 08:25:19 AM UTC, comment #2:

# regexp for {=
my $left = "\Q$Global::parensleft\E";
my $l = $Global::parensleft;
# regexp for =}
my $right = "\Q$Global::parensright\E";
my $r = $Global::parensright;

# {=header1 ... =} => {=1 ... =}
s:$left $s (.*?) $right:$l$id$1$r:gx;

Anonymous
Sat 05 Nov 2016 08:15:37 AM UTC, comment #1:

s:\{$s(|/|//|\.|/\.)\}:\{$id$1\}:g;

s:\{=$s(.*?)=\}:\{=$id$1=\}:g;

Anonymous
Sat 05 Nov 2016 08:09:17 AM UTC, original submission:

parallel --header : echo '{=v1 $_=Q($_)=}' ::: v1 a

ought to give the same as:

parallel --header : echo '{=1 $_=Q($_)=}' ::: v1 a

Anonymous

 

(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 (Posted a comment)
  •  

    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
    Sat 05 Nov 2016 07:19:34 PM UTCtangeStatusNone=>Fixed
      Assigned toNone=>tange
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1