$line) { if (ereg("___",$line)) { break 1; } if (ereg("Log message:",$line)) { $parselogmessages=1; $body = $body . "
Log message:
\n"; continue; } if (ereg("Files:",$line)) { $parselogmessages=0; } if ($parselogmessages == 1) { if (ereg('PSARC ([[:alnum:]]+)/([[:alnum:]]+) ',$line,$psarccase)) { if ($headline=="") { $headline = $line; } $link_psarc = 'PSARC '.$psarccase[1].'/'.$psarccase[2].' '; $line = ereg_replace('PSARC ([[:alnum:]]+)/([[:alnum:]]+) ',$link_psarc,$line); } if (ereg('PSARC/([[:alnum:]]+)/([[:alnum:]]+) ',$line,$psarccase)) { if ($headline=="") { $headline = $line; } $link_psarc = 'PSARC '.$psarccase[1].'/'.$psarccase[2].' '; $line = ereg_replace('PSARC/([[:alnum:]]+)/([[:alnum:]]+) ',$link_psarc,$line); } if (ereg('([0-9][0-9][0-9][0-9][0-9][0-9][0-9]) ',$line,$error)) { if ($headline=="") { $headline = $line; } $link_error = ''.$error[1].' '; $line = ereg_replace('([0-9][0-9][0-9][0-9][0-9][0-9][0-9]) ',$link_error,$line); } } $line = ereg_replace('create: ','create: ',$line); $line = ereg_replace('delete: ','delete: ',$line); $line = ereg_replace('update: ','update: ',$line); $line = ereg_replace('^Author:','Author:',$line); $line = ereg_replace('^Repository:','Repository:',$line); $line = ereg_replace('^Latest revision:','Latest revision:',$line); $line = ereg_replace('^Total changesets:','Total changesets:',$line); $line = ereg_replace('^Files:','Files:',$line); $line = ereg_replace('^ ','^ ',$line); $body = $body . $line . "
\n"; } } else { $body = "There is no data available for this code putback"; } print << c0t0d0s0.org - $headline HEADEND; readfile("/var/services/http/docroots/eu/c0t0d0s0/www/codenews/header.html"); print <<$headline

$filedate