+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Anyone know of an easy way to remove duplicate entries from a list?
Pages: [1]
Author Topic: Anyone know of an easy way to remove duplicate entries from a list?  (Read 446 times)
Deuce
Guest
« on: April 21, 2007, 08:36:25 pm »

I use a text file for my two-letter pairs, and build my font file with FEIDIAN.  Problem is, there are a LOT of pairs, and I've accidentally let a few dupes sneak in there.  Does anyone know of an easy way to remove the duplicates?  Perhaps within OpenOffice Calc (which I have) or a simple Perl script?  I need it to be case-sensitive and not mess with whitespaces.  Anyone?  Please?
RedComet
Guest
« Reply #1 on: April 21, 2007, 08:38:15 pm »

How's the list laid out?

AB
BC
BB
CD
AB
CC
EF

Something like that?
Kitsune Sniper
Guest
« Reply #2 on: April 21, 2007, 08:50:32 pm »

I can help. IM me.
Tauwasser
Guest
« Reply #3 on: April 22, 2007, 03:08:01 am »

If there's a simple solution, why not post it openly? Or is that just one of your many tries to get intimate with a male community member, Kitsune xD?

cYa,

Tauwasser
Kitsune Sniper
Guest
« Reply #4 on: April 22, 2007, 10:59:05 am »

...

I already helped him, you idiot.
Nightcrawler
Guest
« Reply #5 on: April 22, 2007, 12:50:43 pm »

 Roll Eyes C'mon.. set an example for the little folks. No need for personal name calling...
Spikeman
Guest
« Reply #6 on: April 22, 2007, 05:53:10 pm »

Use regular expressions.
Numonohi_Boi
Guest
« Reply #7 on: April 23, 2007, 12:47:41 am »

if we uses regular expressions we'd all be in trouble. I guess it depends on your definition of regular.
creaothceann
Guest
« Reply #8 on: April 23, 2007, 01:04:17 am »

Quote from: Panzer88 on April 23, 2007, 12:47:41 am
I guess it depends on your definition of regular.

 
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC