diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2008-01-28 11:21:57 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2008-01-28 11:21:57 -0800 |
commit | cb3d25f05f47625def6444d0c3a94d7f8024f5ce (patch) | |
tree | 7132d3d8bcec61cebd53997f2100061e82a8fdbf /etc/bash_completion.d/20vyatta-cfg | |
parent | d6e59241730e6f458da6e77368b8b6b4d2626150 (diff) | |
download | vyatta-cfg-cb3d25f05f47625def6444d0c3a94d7f8024f5ce.tar.gz vyatta-cfg-cb3d25f05f47625def6444d0c3a94d7f8024f5ce.zip |
skip spaces immediately after field names
Diffstat (limited to 'etc/bash_completion.d/20vyatta-cfg')
-rw-r--r-- | etc/bash_completion.d/20vyatta-cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg index c8e4908..60676fe 100644 --- a/etc/bash_completion.d/20vyatta-cfg +++ b/etc/bash_completion.d/20vyatta-cfg @@ -355,7 +355,7 @@ vyatta_parse_tmpl_comp_fields () # $2: field name sed -n ' /^'"$2"':/,$ { - s/^'"$2"':// + s/^'"$2"':[ ]*// h :b $ { x; p; q } |