[Bash-completion-devel] [bash-completion-Bugs][314226] Bourne shell invocation disallows file arguments

bash-completion-bugs at alioth.debian.org bash-completion-bugs at alioth.debian.org
Fri May 3 13:51:50 UTC 2013


bash-completion-Bugs item #314226, was changed at 2013-05-03 16:51 by Ville Skyttä
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314226&group_id=100114

>Status: Closed
Priority: 3
Submitted By: Nobody (None)
>Assigned to: Ville Skyttä  (scop-guest)
Summary: Bourne shell invocation disallows file arguments 
Distribution: Debian
Originally reported in: Debian BTS
Milestone: None
>Status: Fix Committed
Original bug number: 


Initial Comment:
Anonymous message posted by ajv-057-190-2553 at vsta.org

If one has a shell script in a file "x" and runs it as "sh x", in Debian Wheezy there's a regression
such that completion does not believe the invocation can have file arguments.  If I have a file
"foo.txt" which is an argument to the shell script in "x", then "sh x foo<tab>" will not complete
the file.  "sh x <args-including-files>" is a legal usage of the shell and bash-completion should
go back to understanding that things following "x" in such usage can include files.


----------------------------------------------------------------------

>Comment By: Ville Skyttä  (scop-guest)
Date: 2013-05-03 16:51

Message:
Fixed in http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=commitdiff;h=daaa541

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314226&group_id=100114



More information about the Bash-completion-devel mailing list