Hi all,
I have a load of comma-separated tables. Almost all lines have three entries, separated by commas e.g.
Some lines have only two entries, and therefore one comma e.g.Code:one,two,three
I want to get rid of the lines with two entries/one comma. It seems to me that a decent way to do this would be to use grep to find all the lines containing two commas..... But I can't figure out how to do it! Any pointers (or even alternate solutions I could put in a shell script) would be welcome.Code:one,two
Thanks in advance,
wrathkeg
Bookmarks