Hi,
Appreciate your quick reply. What exactly i m doing is there are so many files in my product which contains some data in "name = value" format. By using some pattern i m extracting only "value" field from all files and redirecting the output to one temporarily file as i do not want any value to be repeated in any file. And here i m applying uniq command to this temporary file (by pipe lining sort [sort |uniq -c tempFile]) But i am unable to get expected result.
But as you have told whitespace also should be identical at every line so this might be the problem in my case. Because when i displayed content of file using cat command and manually copied the same data to another file and then tried uniq with sort command it works fine.
So it is fine for me but it would be too better if there could be an option in uniq command to work fine even if whitespace is not identical :).