Public bug reported: Binary package hint: bash
Steps to reproduce the problem: touch file.pm && touch file.pl Filename completion works in this case: perl fi<TAB> (correctly completes filename up to 'file.p') Filename completion doesn't work in this case: perl -c fi<TAB> No completion happens at all! In case you don't know 'perl -c file.pl' or 'perl -c file.pm' is what you do to check the syntax of a perl program or module. It's annoying to have to type the complete PATH to your perl code when you want to check its syntax! Although this particular bug has not been reported before, I think it's related to other reported bugs: Completion doesn't work after 'tar rf' https://bugs.launchpad.net/ubuntu/+source/bash/+bug/94407 And generally related to how annoying this completion cleverness is when it fails (which is quite often, given that it completely depends on someone writing the completion for each and every possible way in which a command can be written) Completion cleverness is fragile and hence stupid https://bugs.launchpad.net/ubuntu/+source/bash/+bug/94408 ** Affects: bash (Ubuntu) Importance: Undecided Status: New -- bash completion doesn't work for 'perl -c' https://bugs.launchpad.net/bugs/128290 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs