bug-parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Parallel Bug Reports Bug with {n} in --colsep files


From: Ole Tange
Subject: Re: GNU Parallel Bug Reports Bug with {n} in --colsep files
Date: Fri, 20 Apr 2012 14:04:21 +0200

On Fri, Apr 13, 2012 at 5:12 PM, Mike Bergeron <address@hidden> wrote:
>
> Version:  GNU parallel 20120322
>
> Environment:  Debian GNU/Linux 5 (i686)   and   CYGWIN_NT-6.1-WOW64 
> 1.7.11(0.260/5/3) (i686)
>
> Summary:  {n} expansion in --colsep files fails for empty fields if all 
> following fields are also empty

Confirmed:

echo billy,north,, | src/parallel --colsep , echo {3}

Fixed in next release:

-               for my $s (split /$::opt_colsep/o, $line) {
+               for my $s (split /$::opt_colsep/o, $line, -1) {

/Ole



reply via email to

[Prev in Thread] Current Thread [Next in Thread]