Sort Delete Duplicate problems

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
etrejo
Posts: 4
Joined: Fri Jul 09, 2010 4:03 pm

Sort Delete Duplicate problems

Post by etrejo »

I love this TextPad. My productivity has shot way up since I started using it. Now, For some reason, using the delete duplicate's is not working for me. I know I used it before and it was working at one time , but now it just sorts the file without removing the duplicates. Any idea's on what I could be doing wrong? Any advice is appreciated.

Thank you.
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

are the duplicate lines really identical?
Or does one maybe have tabs where the other has spaces; or is there some other difference in whitespace?
etrejo
Posts: 4
Joined: Fri Jul 09, 2010 4:03 pm

Post by etrejo »

Good points.. The lines are not identical, but the sorted fields are and I presumed that the duplicates would be found based on the sorted key valuess... which I see now is not the case.. For the delete to work the lines actually need to be identical.. duhhh...
Thanks for clearing this up for me.
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

if the "delete identical" were based just on the sort fields:

how should textpad decide which of the non-identical lines is to be deleted and which to be kept?
Post Reply