Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reformat should support tab characters in format string #5

Closed
tolot27 opened this issue Dec 13, 2017 · 1 comment
Closed

reformat should support tab characters in format string #5

tolot27 opened this issue Dec 13, 2017 · 1 comment

Comments

@tolot27
Copy link
Contributor

tolot27 commented Dec 13, 2017

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:

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.

@shenwei356
Copy link
Owner

shenwei356 commented Dec 13, 2017

Thanks for your suggestion, it's supported now in v0.2.4-dev2 or later versions.

Please try it and any feedback is welcome.

shenwei356 added a commit that referenced this issue Dec 13, 2017
@shenwei356 shenwei356 reopened this Jan 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants