projects
/
grml-tips.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix script so it matches only lines with "^-- $".
[grml-tips.git]
/
grml-tips
diff --git
a/grml-tips
b/grml-tips
index
0103730
..
77f0acf
100755
(executable)
--- 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 ) {