mirror of
https://github.com/wader/fq.git
synced 2024-12-24 13:52:02 +03:00
fe64530e11
Also fix string esacpe in fuzz options parser
206 B
206 B
TSV to CSV
$ fq -d csv -o comma="\t" tocsv file.tsv
Convert rows to objects based on header row
$ fq -d csv '.[0] as $t | .[1:] | map(with_entries(.key = $t[.key]))' file.csv