csvlens icon indicating copy to clipboard operation
csvlens copied to clipboard

Feature request: Ability to skip lines that start with a certain character

Open WardBrian opened this issue 2 years ago • 3 comments

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?

WardBrian avatar Jan 08 '24 17:01 WardBrian

Can't you just grep them out via

grep '#' <file> -v | csvlens

hbina avatar Jan 09 '24 11:01 hbina