perl -d causes completion to fail

Andrew DeFaria Andrew@DeFaria.com
Tue Oct 14 23:22:00 GMT 2014


I'm a big fan of Perl and using Perl's debugger (i.e. perl -d <script>), 
however I noticed that Bash completion works if I say
perl <scr... then tab but fails if I say perl -d <scr... The <script> 
doesn't complete! (and no I don't mean the actual characters <script> 
rather the script filename).

Now I did some Bash completion stuff before so I'm familiar but where 
would I find which completion thing causes this to work but only if -d 
was not specified?

Specify some other Perl option (i.e. -v) and it WORKS!

To recap: perl -d mysc<tab> does NOT complete to perl -d myscript.pl but 
perl -v mysc<tab> does! That's just odd!
-- 
Andrew DeFaria
http://defaria.com


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list