Say I have a file which contains:
A
A
A
B
CC
I want to have the output like this:
A 3
B 1
CC 1
|
Say I have a file which contains:
I want to have the output like this:
|
||||
|
|
|
I figured it out; one of
|
|||||||||||||
|
|
I just came here with a similar problem. From this, I managed to put together a slightly more advanced command, which I hope is useful for others. As Steven D said in the comments above
Output is redirected into the file |
|||||||||
|