X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=Documentation%2Fsort_glossary.pl;h=e0bc552a645f482445d5be33b3b662cead324aa0;hb=e0d10e1c63bc52b37bbec99b07deee794058d9b4;hp=babbea04158404e0b38d332f4fd47e91482d3c60;hpb=069b20a198f171512a1d2d2163b40f70c94f5257;p=git.git diff --git a/Documentation/sort_glossary.pl b/Documentation/sort_glossary.pl index babbea041..e0bc552a6 100644 --- a/Documentation/sort_glossary.pl +++ b/Documentation/sort_glossary.pl @@ -42,14 +42,13 @@ sub no_spaces ($) { print 'GIT Glossary ============ -Aug 2005 This list is sorted alphabetically: '; @keys=sort {uc($a) cmp uc($b)} keys %terms; -$pattern='(\b'.join('\b|\b',reverse @keys).'\b)'; +$pattern='(\b(?>";/eg; print '[[ref_'.no_spaces($key).']]'.$key."::\n"