bug-parallel
[Top][All Lists]
Advanced

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

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


From: Mike Bergeron
Subject: GNU Parallel Bug Reports Bug with {n} in --colsep files
Date: Fri, 13 Apr 2012 11:12:47 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.24) Gecko/20111103 Lightning/1.0b2 Thunderbird/3.1.16

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

Example:

FILE: input
--------
bob,jones,123,main
billy,north,,
sam,smith,456,fitch
sue,adams,,

COMMAND:  $ cat input | parallel -uj1 --colsep , echo {3}

EXPECTED:
123

456


RECEIVED:
123
{3}
456
{3}


Note:  This does not occur if I add a non-blank field to each line.  Only when the field in question is empty and all following fields are also empty (or if the field in question is the final field and also empty).

Let me know if I can assist in any way.  I adore parallel!!!

Regards,

--


www.tracersinfo.com
Michael J. Bergeron - Senior Programmer
Tracers Information Specialists, Inc.
15470 Flight Path Drive
Brooksville, FL 34604
Office (877) 723-2689 | Fax (877) 723-2691
www.tracersinfo.com | address@hidden
DISCLAIMER: The information contained in this communication is confidential and privileged information intended only for the use of the individual or entity to which it is addressed. If you are not the addressee indicated in this message (or an agent responsible for delivery of the message to such person), you are hereby notified that you have received this communication in error and that any review, dissemination, copying, or any action or omission taken by you in reliance on it, is strictly prohibited. Please destroy this message and notify the sender immediately if you have received it in error. 

Attachment: mikeb.vcf
Description: Vcard


reply via email to

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