The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
How to remove duplicates without sorting
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
How to remove duplicates without sorting
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
01-16-2008
orahi001
Registered User
Join Date: Dec 2007
Posts: 48
How to remove duplicates without sorting
Hello,
I can remove duplicate entries in a file by:
sort File1 | uniq > File2
but how can I remove duplicates without sorting the file?
I tried cat File1 | uniq > File2 but it doesn't work
thanks
orahi001
View Public Profile
Find all posts by orahi001
Find orahi001's past nominations received
Find orahi001's present nominations given