glossary-sort: Handle numbers as well

We were only extracting letters, handle numbers as well.

Change-Id: Ic4dfeb21eb2fb7b57a6a7f47432f13dbff9317cd
This commit is contained in:
Andreas Jaeger 2016-11-15 09:04:36 +01:00
parent baa3a2ab44
commit 14268ec43e
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ trap "rm -rf $TMPDIR" EXIT
pushd $TMPDIR
GLOSSARY=$OLDPWD/doc/common/glossary.rst
grep '^ [a-zA-Z]' $GLOSSARY > glossary_entries
grep '^ [a-zA-Z0-9]' $GLOSSARY > glossary_entries
LC_ALL=C sort --ignore-case glossary_entries -o glossary_entries.sorted