Consider this usage of column(1):
column -s, -t <<CSV
a,b,c
,ee,ff
CSV
The above snippet emits:
a b c
ee ff
But I was expecting to see something like this:
a b c
ee ff
column
seems to be dropping the leading blank "cell" from the 2nd row, while I would expect and want it to be preserved.
Is there any way to disable this blank-stripping behavior in column? Are there any standard/recommended workaround suggestions?
I tried using rs(1), but I had other problems with that command: rs(1) prints all output in a single line; how to duplicate the input array shape?
column --version
:column from util-linux 2.38.1
– Marcus Müller Feb 01 '23 at 17:33