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

support env variables for -t and -H #39

Closed
shenwei356 opened this issue Feb 8, 2018 · 2 comments
Closed

support env variables for -t and -H #39

shenwei356 opened this issue Feb 8, 2018 · 2 comments

Comments

@shenwei356
Copy link
Owner

No description provided.

@shenwei356
Copy link
Owner Author

shenwei356 commented Feb 8, 2018

Available in v0.13.0-dev2 or later versions. Examples:

$ cat digitals.tsv 
4       5       6
1       2       3
7       8       0
8       1,000   4

$ cat digitals.tsv | csvtk head -n 3 -H -t | csvtk cut -f 2,1 -H -t
5       4
2       1
8       7

$ export CSVTK_T=1; 
$ export CSVTK_H=true;
$ cat digitals.tsv | csvtk head -n 3 | csvtk cut -f 2,1
5       4
2       1
8       7

@shenwei356
Copy link
Owner Author

Available in v0.13.0 and later versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant