Page Menu
Home
VyOS Platform
Search
Configure Global Search
Log In
Files
F451095
0001-bash_completion-T1911-Add-numeric-sort-key.patch
All Users
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
hard
Jan 1 2020, 2:49 AM
2020-01-01 02:49:14 (UTC+0)
Size
878 B
Referenced Files
None
Subscribers
None
0001-bash_completion-T1911-Add-numeric-sort-key.patch
View Options
From 99aef611b0a41842f4a98900da4f2de162aeb085 Mon Sep 17 00:00:00 2001
From: Igor Melnyk <igor_melnyk@ukr.net>
Date: Wed, 1 Jan 2020 04:42:11 +0200
Subject: [PATCH] (bash_completion: T1911) Add numeric sort key
---
etc/bash_completion.d/vyatta-cfg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg
index a2c3332..10c3bd1 100755
--- a/etc/bash_completion.d/vyatta-cfg
+++ b/etc/bash_completion.d/vyatta-cfg
@@ -1034,7 +1034,7 @@ vyatta_config_complete ()
fi
fi
done
- _get_help_text_items+=( $(printf "%s\n" "${tmp_comp_list[@]}" | sort -u) )
+ _get_help_text_items+=( $(printf "%s\n" "${tmp_comp_list[@]}" | sort -un) )
else
_get_help_text_items=( "${_cli_shell_api_hitems[@]}" )
vyatta_completions=( "${_cli_shell_api_comp_values[@]}" )
--
2.24.1
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
35/de/c96158f914a811b2a564966a67cb
Default Alt Text
0001-bash_completion-T1911-Add-numeric-sort-key.patch (878 B)
Attached To
Mode
T1911: Completion helper list is not sorted
Attached
Detach File
Event Timeline
Log In to Comment