[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Uniq is not unique ?



Hi,


 
 For fairly large file 100K+ lines
 uniq command does not filter the repetitive lines.

 Am I doing anything wrong on the usage ? 

 For eg:-

 I had run this script in my home dir

 find . -name \* -type f -exec basename {} \; | uniq
  or send the output to a file and then run uniq on the file 

 Both cases, the o/p shows repeated lines 


-- 
Bhasker C V
Registered Linux user: #306349 (counter.li.org)
The box said "Requires Windows 95, NT, or better", so I installed Linux.


Reply to: