From: Michael Prokop Date: Sat, 17 Mar 2007 15:03:19 +0000 (+0100) Subject: Adjusted script so it matches case-insensitive X-Git-Tag: 0.3.24 X-Git-Url: http://git.grml.org/?p=grml-tips.git;a=commitdiff_plain;h=0f7d60b21a1cd14b32a84069fa942ad64ab40e8a Adjusted script so it matches case-insensitive --- 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