summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/bash_completion.d/20vyatta-cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg
index 7968cec..f979939 100755
--- a/etc/bash_completion.d/20vyatta-cfg
+++ b/etc/bash_completion.d/20vyatta-cfg
@@ -441,6 +441,8 @@ vyatta_parse_tmpl ()
if (( ${#vyatta_cfg_allowed[@]} == 0 )); then
astr=$(eval "$acmd")
+ astr=${astr//</\\<}
+ astr=${astr//>/\\>}
eval "ares=( $astr )"
for (( i=0 ; i<${#ares[@]} ; i++ )); do
if [[ "${ares[i]}" != \<*\> ]]; then