Closed tolot27 closed 6 years ago
It would be great if reformat would support tab characters in the format string to separate the placeholders into separate columns.
reformat
It tried to provide tabs with \t like following:
\t
taxonkit reformat -f "{k}\t{p}\t{c}\t{o}\t{f}\t{g}\t{s}\t{S}"
An intermediate solution is to mask the string in bash like $'{k}\t{p}\t{c}\t{o}\t{f}\t{g}\t{s}\t{S}'. But that's not obvious to most users.
$'{k}\t{p}\t{c}\t{o}\t{f}\t{g}\t{s}\t{S}'
Thanks for your suggestion, it's supported now in v0.2.4-dev2 or later versions.
Please try it and any feedback is welcome.
It would be great if
reformat
would support tab characters in the format string to separate the placeholders into separate columns.It tried to provide tabs with
\t
like following:An intermediate solution is to mask the string in bash like
$'{k}\t{p}\t{c}\t{o}\t{f}\t{g}\t{s}\t{S}'
. But that's not obvious to most users.