How can one set the csv_delimiter
option to a literal Tab?
#2545
Replies: 1 comment 6 replies
-
To paste a special character into any cell, like the Or you can set the option from the command line: do the Windows equivalent of the Linux To set alternate line delimiters with the tsv parser, you'd want to set the But I'm surprised any special line ending handling is necessary. On my Ubuntu system, the tsv parser handles files where lines end with |
Beta Was this translation helpful? Give feedback.
-
More generally, how can one enter invisible characters into the Visidata options page?
Motivation: On Windows, many programs produce output with CRLF line endings.
If the output is CSV, then all is well, the CSV reader will automatically handle this.
But if the output is TSV, then we have a problem, because the TSV reader expects a single character line ending.
I thought that I could have my cake and eat it by opening a TSV as CSV with
csv_delimiter
set to Tab.But I can't figure out how to set the option...
\t
doesn't seem to work.And pasting a literal
Tab
into the cell tells me that the clipboard is empty...This will be particularly useful when pasting TSV tables from the clipboard with
gP
.Beta Was this translation helpful? Give feedback.
All reactions