I was thinking about using bash, but couldn't come up with a solution to use tabcompletion when I'm in a different directory than the CSV file I want the data from, so I don'need to change directory.
Re:Ask HN: Tools you have made for yourself?
by gnomewascool on Saturday June 12, 2021 @05:47PM
(#27487686)
Not really, not if the CSV contains quoted newlines.
- `head -n 1 <file>` to get headers - `wc -l <file>` to count number of rows