84
84
if ($text =~ m{[\r\n]}sio) {
85
85
foreach my $line (split (m{[\r\n]}, $text)) {
86
print "# ".sprintf("%02d:%02d:%02d", $t[2], $t[1], $t[0])." $line\n";
86
print "# ".sprintf("%04d-%02d-%02d %02d:%02d:%02d", $t[5]+1900, $t[4]+1, $t[3], $t[2], $t[1], $t[0])." $line\n";
89
print "# ".sprintf("%02d:%02d:%02d", $t[2], $t[1], $t[0])." $text\n";
89
print "# ".sprintf("%04d-%02d-%02d %02d:%02d:%02d", $t[5]+1900, $t[4]+1, $t[3], $t[2], $t[1], $t[0])." $text\n";