summaryrefslogtreecommitdiff
path: root/contrib/index-prop
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-28 22:06:30 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-28 22:06:30 +0000
commitf089d60c9a5aa7a13fabd588047b2a04774aa13a (patch)
treee154de86b2520c77fae7e0786e254e2ffc4a40b0 /contrib/index-prop
parenta4dd052e36181236b8beaa58f6cceb545f494a34 (diff)
downloadgcc-f089d60c9a5aa7a13fabd588047b2a04774aa13a.tar.gz
* index-prop: Use a single pattern. Also support *** cdiffs.
* index-prop: Don't change /dev/null. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33523 138bc75d-0d04-0410-961f-82ee72b054a4
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 285ad8c5890..1ea648989f6 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;
}
}