On 20 May 2008 at 15:39, Girard Aquino wrote:

> 
> i have around 32000+ words that are paragraph separated (each word on 
> another line/paragraph). there are duplicate words which i would like to 
> get rid of. how can i go about this in writer?
> 
> this is actually two different word list files in writer. one is around 
> 14000 words, the other 18000. i tried to use the compare document tool, 
> but i could not isolate the 4000 word difference between the two, so i 
> combined them to form the 32000 list.
> 
> i'm running 2.4 and 3.0 on xp media center.

Not sure there's an easy way within writer - although obviously you 
could write a macro, it might take a while.

If you have access to a *nix box (or cygwin), it's a one-line no-
brainer from the shell (sort -u) to do this to a text file, always 
assuming you don't mind the list being sorted. Otherwise it's pretty 
trivial in perl to write a script that will maintain the ordering 
(probably a one-liner again).

-- 
Permission for this mail to be processed by any third party in 
connection
with marketing or advertising purposes is hereby explicitly denied.
http://www.scottsonline.org.uk lists incoming sites blocked because 
of spam
[EMAIL PROTECTED]    Mike Scott, Harlow, Essex, England



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to