From 45f0f4e2336f339ec0deefcd17a1892d0274e1e6 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Wed, 31 Oct 2007 15:54:19 -0700 Subject: ignore trailing spaces in config templates --- etc/bash_completion.d/20vyatta-cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/bash_completion.d/20vyatta-cfg') diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg index ddfe360..b4449c8 100644 --- a/etc/bash_completion.d/20vyatta-cfg +++ b/etc/bash_completion.d/20vyatta-cfg @@ -360,7 +360,7 @@ vyatta_parse_tmpl () } s/^tag:/vyatta_cfg_tag=1/p s/^multi:/vyatta_cfg_multi=1/p - s/^type:[ ]\+\([^ ]\+\)$/vyatta_cfg_type=\1/p + s/^type:[ ]\+\([^ ]\+\)/vyatta_cfg_type=\1/p ' $1` local acmd=$(vyatta_parse_tmpl_comp_fields $1 "allowed") -- cgit v1.2.3