1
Finished Programs / DONE: Delete double lines (all but the first) in a text file
« on: March 06, 2006, 12:43 PM »
Hello,
sorry for my poor english.
I am looking for an application which is able to delete double entries in a large text file. I did only find a macro for UltraEdit, but if the file is greater than 1 mb it hangs. I am sure that there is already such an app available, but I couldn´t find it with google. I could only find other people looking for such a piece of software Sometimes I code some little things in vbs, but I am a absolute beginner. I know I have to create 2 further files:
File 1: already available master file
File 2: Temporäry File
File 3: Results File
cut first (not empty) line from file 1 and paste it to file 2
delete all lines in file 1 that are equal to this line
cut line 1 in file 2 and paste it to file 3
etc. etc.
I would appreciate some help.
Many thanks
chrisi
sorry for my poor english.
I am looking for an application which is able to delete double entries in a large text file. I did only find a macro for UltraEdit, but if the file is greater than 1 mb it hangs. I am sure that there is already such an app available, but I couldn´t find it with google. I could only find other people looking for such a piece of software Sometimes I code some little things in vbs, but I am a absolute beginner. I know I have to create 2 further files:
File 1: already available master file
File 2: Temporäry File
File 3: Results File
cut first (not empty) line from file 1 and paste it to file 2
delete all lines in file 1 that are equal to this line
cut line 1 in file 2 and paste it to file 3
etc. etc.
I would appreciate some help.
Many thanks
chrisi