The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Search Results
Showing results 1 to 1 of 1
Search took
0.01
seconds.
Search:
Posts Made By:
dizydolly
Forum:
Shell Programming and Scripting
03-06-2013
3
Find lines with matching column 1 value, retain only the one with highest value in column 2
2,627
Posted By
anbu23
$ sort -k1,1 -k3nr -k4nr file | awk ' !arr[$1]++...
$ sort -k1,1 -k3nr -k4nr file | awk ' !arr[$1]++ '
s_48806 comp48806_c0_seq1 100.0 86 3285 0 2838 2838 2838 -1
s_48825 comp48825_c1_seq1 100.0 60 2793 0 1683 1683 1683 -1
s_48827 comp48827_c0_seq5...
Showing results 1 to 1 of 1
Member Badges and Information Modal
×