aboutsummaryrefslogtreecommitdiff
path: root/contrib/index-prop
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/index-prop')
-rwxr-xr-xcontrib/index-prop4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/index-prop b/contrib/index-prop
index 285ad8c..1ea6489 100755
--- a/contrib/index-prop
+++ b/contrib/index-prop
@@ -14,8 +14,8 @@ while (<>)
for (1..7)
{
$_ = <>;
- s/^--- [^\t]+\t/--- $full\t/;
- s/^\+\+\+ [^\t]+\t/\+\+\+ $full\t/;
+ s/^([-+*]{3}) [^\t]+\t/$1 $full\t/
+ unless m{ /dev/null\t};
print;
}
}