I know about the sort command with -u option and that it works
What i meant to say that the command which you have given is not the total solution for the question posted above. But that is again what i think, you may be right as well.
This is what I got from your command
Quote:
$cat abc.txt
v b s a e
r
t
g
hg gf v s
$sort -u abc.txt | wc
5 12 28
but as per my understanding the output should have been 10 and not 12
Gaurav