harelba / q

q - Run SQL directly on delimited files and multi-file sqlite databases
http://harelba.github.io/q/
GNU General Public License v3.0
10.15k stars 419 forks source link

Add option to output column headers #254

Closed cmungall closed 1 year ago

cmungall commented 3 years ago

q is a marvelous tool, thank you!

One thing that would be very useful is an option to emit column headers in the output, analogous to -H for input. These would be based on either the column names in the select, or aliases provided. Amongst other things this would allow composability of inputs and outputs.

E.g.

bitti commented 3 years ago

Did you overlook the -O/--output-header option?

cmungall commented 1 year ago

Thanks!