I am looking for a programm that delete multiple lines but does not
sort the file.
Does someone has any pointers for me, please!?
A console (dos box) util that will do it:
DeDupe (or Extract Unique Lines)
by John Augustine
DeDupe v1.2 - Removes duplicate ASCII text
lines anywhere; extracts unique lines from
two similar files. No pre-sorting req'd. File
viewer included. Optional duplicate record
file. Freeware.
Search for dedupe12.zip for the freeware version. There is also a
dedupe13.zip, but the author has not defined that release as freeware.
<q>"This is not free software. A small donation is required -"</q>
(Speaking of later releases of this, Google turned up with a 2001
release of Augustine's DeDupe, at Simtel -- listed as shareware.)
The few times I tested this one, it did the job. Just it was
a PITA for me having to interact manually with the console prompts
(the version 1.2 at least did not support just going to work from
batch mode). If this is just a quick job for you, not a routine
task, then perhaps that factor won't bother you. Another note:
This 1997 prog has expectedly line length limits; and filesize
limits; (and less important, probably have to use SFN for file
names). So you'd have to see that whatever limits described in
DeDupe docs would or would not matter for your task.
or
There are others about, console & command based, but I'm not spotting
them easily at casual glance. One that I have locally is RemDupli by
Bruce Desmond. Google doesn't respond to the name RemDupli, though.
Anyway it's an old 1993 model, so it's not worth the hunt, when there
are other choices.
or
Power Route: SED will do nonconsecutive duplicate lines.
Left in my notes from when I needed to do just that (including
trying to get some exclusions into the operation), I've pertinent
SED command strings. But I'm not sure I ought post them blindly.
Most ideal, especially if your task has special needs, would be
for someone adequately proficient in SED's powers to key you in
on the best command for your project. (Actually: in your later
followup, where you described your files, it was, tell the truth,
somewhat vague to me. Not sure if this means that you'd best
re-explain the files in more serious depth, or that I should
re-read.)
or
If for some reasons your project turns out to have some sort of
particularly tricky demands, then it is (g)awk that would be able
to step into the ring with the truly serious weight. There especially
though, it'd be best to ask a pro for a custom command.
or
Swinging back the other direction for a final candidate. A simple,
easy, GUI prog: "Dupli Find."
Author's site is
http://www.rlvision.com . Quick Google at the
moment, and learning that it has now turned shareware. The one
I have on hand is Dupli Find 1.4, freeware. Perhaps someone in
ACF will know where the last freeware version can be downloaded?
(If it is v1.4 that is the LFW, and if it's also not to be easily
found, then I can do an upload. The prog's less than 100k, btw.)