Translations:KMail/Tools/40/da: Difference between revisions
Appearance
Created page with '{{Input|1=#!/usr/bin/perl $endOfHeader = 0; while (<>) { if ( $endOfHeader == 0 ) { if ( /^(?i:Subject):\s+Bug\#(\d{4,5}):/ ) { ...' |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 15: | Line 15: | ||
print; | print; | ||
}; | }; | ||
}} |
Latest revision as of 15:59, 27 September 2010
#!/usr/bin/perl
$endOfHeader = 0;
while (<>) {
if ( $endOfHeader == 0 )
{
if ( /^(?i:Subject):\s+Bug\#(\d{4,5}):/ )
{
$_ = "Reply-To: $1\@bugs.kde.org\n".$_;
}
elsif ( /^$/ )
{
$endOfHeader = 1;
}
}
print;
};