bugGNU Parallel - Bugs: bug #53706, CSV for input


bug #53706: CSV for input

Submitted by:  None
Submitted on:  Fri 20 Apr 2018 07:49:11 AM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  In Progress
Privacy:  Public Assigned to:  Ole Tange <tange>
Open/Closed:  Open

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 22 Apr 2018 08:39:50 AM UTC, comment #2: 

It is impossible to split correctly without reading every line, if we allow newlines:


Here a,b,c is first a full record and then substring of a single field.

Thus --pipe-part cannot be guaranteed to work reliably.

But it ought to be doable with --pipe.

Ole Tange <tange>
Project AdministratorIn charge of this item.
Fri 20 Apr 2018 08:35:23 AM UTC, comment #1: 


^ = start of record

if uneven number of " (y/"/"/) => quoted newline. Read lines until hitting an uneven number of ".

--pipe-part: Warning if quoted args (y/"/"/ > 0). Error if quoted newline (y/"/"/ odd).

Fri 20 Apr 2018 07:49:11 AM UTC, original submission:  


If input is CSV, it should be unquoted. Can we deal correctly with quoted newlines?

Maybe --csv. If the file has quoted \n then --pipepart may fail.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

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

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-22 tange StatusNone => In Progress
        Assigned toNone => tange

    Back to the top

    Powered by Savane 3.7