I have a list of objects in column (file_column.txt) and I want to transpose this objects in row using "," as delimiter in a new file (file_row.txt).
Es.
file_column.txt:
Art
14f
adr
a24
file_row.txt:
Art,14f,adr,a24
I try to use this code:
paste -s -d " " tabella.txt
but the result it isn't right because I obtained this:
Art
,14f
,adr
,a24
Can you help me please?
dos2unix
on any input file. What you described is possibly the result of having^M
or\r
, Windows line endings, at the end of your file lines. – thanasisp Oct 21 '20 at 09:25