Search Results

Search: Posts Made By: mikloz
10,382
Posted By mikloz
Got it! Thanks!
Got it! Thanks!
10,382
Posted By mikloz
Perfect! Thank you! ---------- Post updated...
Perfect! Thank you!

---------- Post updated at 08:05 PM ---------- Previous update was at 12:26 AM ----------



Please, Don Cragun, can you explain it? I suppose you create a list, and add...
10,382
Posted By mikloz
Thanks to all. And if I am interested in the...
Thanks to all.

And if I am interested in the rate?

$ cat f28
a1
a2
a1
a3
a1
a2
a4
a5
3/8
10,382
Posted By mikloz
Hi Don Cragun, It is not a homework, I know...
Hi Don Cragun,

It is not a homework, I know it has to be easy to do but I don't find the correct way.

I know how to obtain the duplicates number for each line:

sort file.txt | uniq -c -d
...
10,382
Posted By mikloz
Count total duplicates
Hi all,

I have found another post threads talking about count duplicate lines, but I am interested in obtain the total number of duplicates. For example:

#file.txt
a1
a2
a1
a3
a1
a2
a4...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 04:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy