您最多能選擇 25 個主題
主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
14 行
369 B
14 行
369 B
15 年前
|
#!/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");
|