How to remove duplicates in Unix. Suppose i have file like bellow
1,primary,a
1,secondary,b
2,secondary,c
2,secondary,d
i want the output as
1,primary,a
2,secondary,c
Please give me the solution for this command..
Thanks in Advance..
4
Contributors
3
Replies
1 Day
Discussion Span
8 Months Ago
Last Updated
4
Views
Related Article:use of unix stream
is a Shell Scripting discussion thread by nikita. that has 1 reply, was last updated 1 year ago and has been tagged with the keywords: file, path, shell, stream, unix, unix-stream.