Delete lines when first fields match.
Posted: Sat Mar 20, 2010 3:04 am
Hi! How can I delete lines in scv when first fields match.
Input:
white,any,any,any,any
black,any,any,any,any
blue,any,any,any,any
blue,any,any,any,any
brown,any,any,any,any
red,any,any,any,any
red,any,any,any,any
Output:
white,any,any,any,any
black,any,any,any,any
brown,any,any,any,any
I tried to use a filter - Remove lines matching pattern list. But I failed. Help me please... Thanks.
Input:
white,any,any,any,any
black,any,any,any,any
blue,any,any,any,any
blue,any,any,any,any
brown,any,any,any,any
red,any,any,any,any
red,any,any,any,any
Output:
white,any,any,any,any
black,any,any,any,any
brown,any,any,any,any
I tried to use a filter - Remove lines matching pattern list. But I failed. Help me please... Thanks.