|
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. |
[Prev in Thread] | Current Thread | [Next in Thread] |