From: J. Bruce Fields Date: Sun, 18 Mar 2007 00:40:13 +0000 (-0400) Subject: user-manual: Use def_ instead of ref_ for glossary references. X-Git-Tag: v1.5.1-rc2~5^2^2~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=06e7ea37875e4ee4a0ada701d52e2466f344c0f3;p=git.git user-manual: Use def_ instead of ref_ for glossary references. I'd like to start using references to the glossary in the user manual. The "ref_" prefix for these references seems a little generic; so replace with "def_". Signed-off-by: "J. Bruce Fields" --- diff --git a/Documentation/sort_glossary.pl b/Documentation/sort_glossary.pl index 05dc7b2c7..4ae629036 100644 --- a/Documentation/sort_glossary.pl +++ b/Documentation/sort_glossary.pl @@ -50,8 +50,8 @@ This list is sorted alphabetically: @keys=sort {uc($a) cmp uc($b)} keys %terms; $pattern='(\b(?>";/eg; - print '[[ref_'.no_spaces($key).']]'.$key."::\n" + $terms{$key}=~s/$pattern/sprintf "<>";/eg; + print '[[def_'.no_spaces($key).']]'.$key."::\n" .format_tab_80($terms{$key})."\n"; }