[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
Tue Apr 23 00:37:14 UTC 2013


bash-completion-Bugs item #314226, was opened at 2013-04-23 00:37
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314226&group_id=100114

Status: Open
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Bourne shell invocation disallows file arguments 
Distribution: Debian
Originally reported in: Debian BTS
Milestone: None
Status: None
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.


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

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