From b6b30637c617100e3bf2f37af30d0be55cd56c70 Mon Sep 17 00:00:00 2001 From: dfs Date: Tue, 12 Apr 2005 00:51:36 +0000 Subject: [PATCH] Make rem2html ignore "#" lines. --- www/rem2html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/rem2html b/www/rem2html index 9c68a8d6..e488c8a2 100755 --- a/www/rem2html +++ b/www/rem2html @@ -2,7 +2,7 @@ # rem2html # -# $Id: rem2html,v 1.12 2004-08-11 01:55:39 dfs Exp $ +# $Id: rem2html,v 1.13 2005-04-12 00:51:36 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 @@ -153,6 +153,7 @@ sub parse_input { @nextsc = split(" "); } else { return 1 if /rem2(html|ps) end/; + next if /^\#/; next unless m/^(\d*).(\d*).(\d*)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s*(.*)$/; $type = $4; $msg = $8;