projects
/
grml-tips.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add script tip
[grml-tips.git]
/
grml-tips
diff --git
a/grml-tips
b/grml-tips
index
0103730
..
49e71d2
100755
(executable)
--- a/
grml-tips
+++ b/
grml-tips
@@
-85,10
+85,10
@@
my $tip = '';
my $tip_flag = 0;
while (my $line = <$fh>) {
- if ($line !~ /^--/) {
+ if ($line !~ /^--
$
/) {
$tip .= $line;
} else {
- if ( "$tip" =~ /$pattern/m ) {
+ if ( "$tip" =~ /$pattern/m
i
) {
$tip .= $line;
print "$tip";
$tip = '';