in reply to Compare and group unmatched records from 2 CSV files together

Would csvdiff meet your needs? Also able to spit out the diff in HTML

$ csvdiff --help usage: csvdiff [--no-color] [--html] file.csv file.csv provides colorized diff on sorted CSV files assuming first line is header and first field is the key $

Enjoy, Have FUN! H.Merijn