How to sort and display only first occurrence of every unique lines in unix?
E.g., file contains: abcd 5 abcd 2 abcd 10 xyz 1 xyz 4 xyz 5
Needed Output: abcd 10 xyz 5
Thanks, Mak
https://stackoverflow.com/questions/66593610/how-to-sort-and-display-only-first-occurrence-of-every-unique-lines-in-unix March 12, 2021 at 11:06AM
没有评论:
发表评论