[PLUG] Removing duplicate lines in OpenOffice?
Matt Alexander
m at pdxlug.org
Tue Dec 23 09:24:01 UTC 2003
Paul Heinlein said:
> On Tue, 23 Dec 2003, Matt Alexander wrote:
>
>> I have a sorted tab-delimited text file that I've opened up in
>> OpenOffice. I would like to remove all duplicate lines. Does anyone
>> know how to do this?
>
> I don't know how in OO.org, but from the command line it's easy:
>
> sort -u tab-delimited.txt > no-dupes.txt
Interesting... I originally did this:
sort | uniq > no-dupes.txt
But that didn't remove the dupes, probably because of the unicode
characters in my file, which is why I was looking into using OOo. But
"sort -u" did remove the dupes. Maybe "uniq" doesn't handle unicode yet?
Thanks,
~M
More information about the PLUG
mailing list