Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
14 lignes
369 B
14 lignes
369 B
#!/usr/bin/perl
|
|
# the script is called with interpreter, so don't worry about the path
|
|
|
|
while(<>)
|
|
{
|
|
if (($key, $domain, $useragent, $comment) = ($_ =~ /(Entry\d)=\.?([^:]+)::([^:]+)::([^\n]+)/))
|
|
{
|
|
printf ("[%s]\n", $domain);
|
|
printf ("UserAgent=%s\n", $useragent);
|
|
printf ("# DELETE %s\n", $key);
|
|
}
|
|
}
|
|
printf ("# DELETE EntriesCount\n");
|