Skip to content

How to get fields information from stdin ? #70

Answered by mithrandie
kpym asked this question in Q&A
Discussion options

You must be logged in to vote

The fields subcommand does not have such an option. However, you can use SHOW command as a query.

cat mydata.csv | csvq ‘SHOW FIELDS FROM STDIN’

https://mithrandie.github.io/csvq/reference/built-in.html#show_fields

Replies: 7 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@kpym
Comment options

Comment options

You must be logged in to vote
1 reply
@kpym
Comment options

Comment options

You must be logged in to vote
1 reply
@kpym
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@kpym
Comment options

Answer selected by kpym
Comment options

You must be logged in to vote
1 reply
@kpym
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants