Re: konqueror krashing on klose
* Andreas Schuldei (andreas@schuldei.org) [030213 11:46]:
> * Soenke von Stamm (s.stamm@broadnet-mediascape.de) [030213 11:01]:
> > Hi,
> >
> > have a look at this thread:
> >
> > http://lists.debian.org/debian-kde/2003/debian-kde-200302/msg00233.html
>
> uh, duplicat bookmarks...
>
> does that mean both a link in the konqueror bookmarks bar
> (parallel to the URL-bar) and the bookmarks sub(-sub-)folders?
>
> or is it a duplicate bookmark if any given URL reoccures within
> any of the sub(-sub-)folders? does it qualify as duplicate if
> there are the same URL with different arguments (like google with
> different seach words)?
it seems to have been the latter. this perl snibblet
helped me find those evil URLs:
#!/usr/bin/perl -w
use strict;
my $file="/home/andreas/.kde/share/apps/konqueror/bookmarks.xml";
my @urls;
open (INPUT, $file) or die "can't open $file: $!";
while (<INPUT>) {
chomp;
if (/href=\"(.*)\" >/) {
push @urls, $1;
}
}
close(INPUT) or die "can't close $file: $!";
while (@urls){
my $url = pop @urls;
foreach my $i (@urls){
if ($i eq $url) {
print "double: $i \n";
}
}
}
Reply to: