Help with keep only first record...

Input file:

A1BG    All
A1BG    All
A1BG    All
A1CF    TEMP
A1CF    TEMP
A2LD1   STOP
A2M     KEEP
A2M     KEEP
A2M     KEEP
A2M     KEEP
.
.

Desired output:

A1BG    All
A1CF    TEMP
A2LD1   STOP
A2M     KEEP
.
.

Keep on the first record of the input file and remove those duplicate info.
Thanks.

uniq file
1 Like

Use:

uniq file

Upss , too late ... haha

1 Like

Oopss...
Just so easy...
I think too much then :frowning:
haha...
Thanks a lot ya :slight_smile: