View Single Post
Old 06-22-2008, 07:29 PM  
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,391
Quote:
Originally Posted by qwe View Post
is there a program that can remove duplicate lines in .txt file ? lines might contain things like ;.,- with some letters/digits
Here is what you need: http://www.maturedesign.com/junk/gfy/removedupes.exe

It's a command-line application. So you should use it as follows:

removedupes.exe infile.txt outfile.txt

So if infile.txt was containing something like this:
0000
123
234
;wer;
!@#l
!@#!23kl
123
23423
234234
qeo23
234
234234
22392jwd89
K!@#L!@(#12
!@#!23kl
!@#l
123

the outfile.txt will be the following:
!@#!23kl
!@#l
;wer;
0000
123
22392jwd89
234
23423
234234
K!@#L!@(#12
qeo23

P.S. Don't worry about viruses/trojans etc. I wrote this utility myself just a couple of minutes ago.
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote