mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-23 01:32:58 +02:00
- Added TAG and DURATION clauses for communicating more information to
back-ends and eventually converting REMIND into a full-fledged scheduler. - Completely reworked the PS/PSFILE mechanism to use the more general SPECIAL mechanism for customizing output in REMIND back-ends. - Modified tkremind, rem2ps and www/rem2html to use new "SPECIAL" communication channel.
This commit is contained in:
+5
-5
@@ -2,7 +2,7 @@
|
||||
|
||||
# rem2html
|
||||
#
|
||||
# $Id: rem2html,v 1.3 1997-09-16 03:16:42 dfs Exp $
|
||||
# $Id: rem2html,v 1.4 1997-09-21 23:23:41 dfs Exp $
|
||||
#
|
||||
# A script to convert from the output of "remind -p" to Hyper-Text Markup
|
||||
# Language (HTML), the text format used in WWW documents. By default, it
|
||||
@@ -111,11 +111,11 @@ sub parse_input {
|
||||
@nextsc = split(" ");
|
||||
} else {
|
||||
last if /rem2(html|ps) end/;
|
||||
next unless m/^(....).(\d*).(\d*)\s+(\S+)\s+(\S+)\s+(\S+)\s*(.*)$/;
|
||||
$type = $1;
|
||||
$msg = $7;
|
||||
next unless m/^(\d*).(\d*).(\d*)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s*(.*)$/;
|
||||
$type = $4;
|
||||
$msg = $8;
|
||||
$day = $3;
|
||||
next unless ($type eq "HTML" || ($type =~ /\d\d\d\d/));
|
||||
next unless ($type eq "HTML" || ($type eq "*"));
|
||||
if ($type eq "HTML") {
|
||||
$days[$day] .= "$msg ";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user