Assuming there is one number per line:
sort  | uniq -c 
You can use the more verbose --count flag too with the GNU version, e.g., on Linux:sort  | uniq --count 
sort  | uniq -c 
You can use the more verbose --count flag too with the GNU version, e.g., on Linux:sort  | uniq --count 
沒有留言:
張貼留言