bug-datamash
[Top][All Lists]
Advanced

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

tranpose bug with comma field-separator


From: Charles Read
Subject: tranpose bug with comma field-separator
Date: Fri, 13 Mar 2020 23:36:58 -0000

Steps to reproduce:

     1. Put this data in the file /tmp/z0.txt:

A,B,C,D,E,F,G,H,I,J

0,1,2,3,4,5,6,7,8,9


     2. Then run:

$ datamash --field-separator=, transpose < /tmp/z0.txt 

A,0

B,1

C,2

D,3

E,4

F,5

G,6

H,7

I,8

,9


Notice the last transposed row omits the column-name "J".

Version on OSX / Catalina (installed through brew):

$ datamash --version

datamash (GNU datamash) 1.6

Copyright (C) 2020 Assaf Gordon

License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.


Written by Assaf Gordon.


Disclaimer: This email and any files transmitted with it are confidential and intended solely for the use of the individual or the entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

reply via email to

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