}
$secend="";
+$status="unknown";
while($s = shift @lines){
@x = $s;
$devices = $1;
}elsif($x =~ m/^Author: (.*)/){
$author = $1
+ }elsif($x =~ m/^Status: (.*)/){
+ $status = $1
}
}else{
if($s eq "\n"){
$comment = $comment . $s;
}
if($blank==3){
+ $comment =~ s/&/&/g;
$comment =~ s/@/@/g;
$comment =~ s/</</g;
$comment =~ s/>/>/g;
+ $author =~ s/&/&/g;
$author =~ s/@/@/g;
$author =~ s/</</g;
$author =~ s/>/>/g;
<para>
Author: $author
</para>
+ <para>
+Status: $status
+ </para>
";
if($devices ne ""){
print
$blank=0;
$comment="";
+ $status="unknown";
}
}