The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
sort
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
sort
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
01-27-2008
mirusnet
Registered User
Join Date: Dec 2007
Posts: 146
sort
What is the easiest way to count duplicate lines?
example:
aaa
b
b
b
b
b
Output:
aaa 1
b 5
Sorry, maybe someone already ask for it,
but I can not find.
mirusnet
View Public Profile
Find all posts by mirusnet
Find mirusnet's past nominations received
Find mirusnet's present nominations given