Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgenerate-cmdlist.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/generate-cmdlist.sh b/generate-cmdlist.sh
index 5114f46680..2736791561 100755
--- a/generate-cmdlist.sh
+++ b/generate-cmdlist.sh
@@ -11,15 +11,14 @@ command_list () {
get_categories () {
tr ' ' '\012' |
- grep -v '^$' |
- sort |
- uniq
+ LC_ALL=C sort -u
}
category_list () {
command_list "$1" |
cut -c 40- |
- get_categories
+ get_categories |
+ grep -v '^$'
}
get_synopsis () {