bugGNU Parallel - Bugs: bug #48327, env_parallel.bash fails if...

 
 

bug #48327: env_parallel.bash fails if function has ()

Submitter:  Ole Tange <tange>
Submitted:  Tue 28 Jun 2016 07:30:00 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  tange
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 28 Jun 2016 04:14:27 PM UTC, comment #1: 

Fixed in [85dfb3e].

Ole Tange <tange>
Group administrator
Tue 28 Jun 2016 07:30:00 AM UTC, original submission:  

This fails as a script on its own and in env_parallel if longopt has the --+([-a-z0-9])) line.

#!/bin/bash

_longopt ()
{
    case "$prev" in
        --+([-a-z0-9_]))
            echo foo
        ;;
    esac;
}


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
    2016-06-28 tange StatusNone Fixed
        Assigned toNone tange
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code