csvlens
csvlens copied to clipboard
Feature request: Ability to skip lines that start with a certain character
Hi!
I regularly deal with CSV files that have "comments" in them, lines which (in my case) start with # and do not contain either a header or a comma separated row. It seems that at present this can result in csvlens believing there is only one column in the file.
Would it be reasonable to support this with an extra command line flag?
Can't you just grep them out via
grep '#' <file> -v | csvlens