From 0f7d60b21a1cd14b32a84069fa942ad64ab40e8a Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sat, 17 Mar 2007 16:03:19 +0100 Subject: [PATCH] Adjusted script so it matches case-insensitive --- debian/changelog | 1 + grml-tips | 2 +- grml_tips | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 117d1e9..24a1aee 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ grml-tips (0.3.24) unstable; urgency=low * Fix script so it matches only lines with '^-- $'. + * Adjusted script so it matches case-insensitive. -- Michael Prokop Sat, 17 Mar 2007 16:00:48 +0100 diff --git a/grml-tips b/grml-tips index 77f0acf..49e71d2 100755 --- a/grml-tips +++ b/grml-tips @@ -88,7 +88,7 @@ while (my $line = <$fh>) { if ($line !~ /^-- $/) { $tip .= $line; } else { - if ( "$tip" =~ /$pattern/m ) { + if ( "$tip" =~ /$pattern/mi ) { $tip .= $line; print "$tip"; $tip = ''; diff --git a/grml_tips b/grml_tips index 94a7c97..21ff86c 100644 --- a/grml_tips +++ b/grml_tips @@ -2516,6 +2516,7 @@ 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