From 17034dd1db814f3d24e0097e34eedb9e6ba62022 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sat, 17 Mar 2007 16:01:16 +0100 Subject: [PATCH] Fix script so it matches only lines with "^-- $". --- debian/changelog | 6 ++++++ grml-tips | 2 +- grml_tips | 1 - 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index f42b26f..117d1e9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +grml-tips (0.3.24) unstable; urgency=low + + * Fix script so it matches only lines with '^-- $'. + + -- Michael Prokop Sat, 17 Mar 2007 16:00:48 +0100 + grml-tips (0.3.23) unstable; urgency=low * Add "configure timezone" tip. [Closes: issue157] diff --git a/grml-tips b/grml-tips index 0103730..77f0acf 100755 --- a/grml-tips +++ b/grml-tips @@ -85,7 +85,7 @@ my $tip = ''; my $tip_flag = 0; while (my $line = <$fh>) { - if ($line !~ /^--/) { + if ($line !~ /^-- $/) { $tip .= $line; } else { if ( "$tip" =~ /$pattern/m ) { diff --git a/grml_tips b/grml_tips index 21ff86c..94a7c97 100644 --- a/grml_tips +++ b/grml_tips @@ -2516,7 +2516,6 @@ Check your current settings via: Further information: -------------------- - hwclock(8) tzselect(1) tzconfig(8) http://www.debian.org/doc/manuals/system-administrator/ch-sysadmin-time.html http://wiki.debian.org/TimeZoneChanges -- 2.1.4