Ignore a sub-topic match if it is inside the command description.

Otherwise, merge-help can get confused by a command description that
includes a word that starts with a capital S.

MFC after:	1 week
This commit is contained in:
John Baldwin
2006-09-28 19:06:20 +00:00
parent 2c30ec0a1f
commit 64786948cc
+3
View File
@@ -25,9 +25,12 @@ BEGIN \
match($0, " T[[:graph:]]+");
T = substr($0, RSTART + 2, RLENGTH - 2);
match($0, " S[[:graph:]]+");
SSTART = RSTART
S = (RLENGTH == -1) ? "" : substr($0, RSTART + 2, RLENGTH - 2);
match($0, " D[[:graph:]][[:print:]]*$");
D = substr($0, RSTART + 2);
if (SSTART > RSTART)
S = "";
# find a suitable place to store this one...
ind++;