[Bash-completion-devel] [bash-completion-Bugs][314056] Fix __ltrim_colon_completions() fail on parameter (\$1) containing a glob.
bash-completion-bugs at alioth.debian.org
bash-completion-bugs at alioth.debian.org
Sat Mar 9 11:38:50 UTC 2013
bash-completion-Bugs item #314056, was changed at 2013-03-09 15:38 by Igor Murzov
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314056&group_id=100114
>Status: Closed
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Fix __ltrim_colon_completions() fail on parameter (\$1) containing a glob.
Distribution: None
Originally reported in: None
Milestone: None
>Status: Fix Committed
Original bug number:
Initial Comment:
Example on how the logic fails:
# v="ff00::0,nessus-[font-service],ff02"
# echo ${v%${v##*:}}
ff00::0,nessus-[font-service],ff02
# echo ${v%"${v##*:}"}
ff00::
unquoted variable while parameter expansion...
patch attached fixes it
----------------------------------------------------------------------
>Comment By: Igor Murzov (garik-guest)
Date: 2013-03-09 15:38
Message:
The patch has been applied: http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=commit;h=e191799dea5b38272dba7e5efe60b3adf86311e5
Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314056&group_id=100114
More information about the Bash-completion-devel
mailing list