@matheusbsbs / matheus-bagliano / commits / 06e7ea3787
Fork 0

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" <bfields@citi.umich.edu>

J. Bruce Fields committed Mar 17, 2007 at 20:40 UTC 06e7ea37875e4ee4a0ada701d52e2466f344c0f3
1 file changed +2 -2
Documentation/sort_glossary.pl
+2 -2
@@ -50,8 +50,8 @@ This list is sorted alphabetically:
50 @keys=sort {uc($a) cmp uc($b)} keys %terms;
51 $pattern='(\b(?<!link:git-)'.join('\b|\b(?<!-)',reverse @keys).'\b)';
52 foreach $key (@keys) {
53 - $terms{$key}=~s/$pattern/sprintf "<<ref_".no_spaces($1).",$1>>";/eg;
54 - print '[[ref_'.no_spaces($key).']]'.$key."::\n"
53 + $terms{$key}=~s/$pattern/sprintf "<<def_".no_spaces($1).",$1>>";/eg;
54 + print '[[def_'.no_spaces($key).']]'.$key."::\n"
55 .format_tab_80($terms{$key})."\n";
56 }
57