Hello Shlomi, thanks for reporing,

On Tuesday 15 of April 2014 14:52:25
> I'm on Mageia Linux 5 Cauldron using bash-completion-2.1-6.mga5 and
> after I do this:
> 
> shlomif@telaviv1:~$ echo $'#!/usr/bin/perl\nprint "Hello\\n";' > myperl.pl
> shlomif@telaviv1:~$ perl -l m[tab]
> 
> The [tab] does not complete. perl -l [tab] does not complete either.
> 
> OTOH doing:
> 
> shlomif@telaviv1:~$ perl -l myperl.pl 
> Hello
> 
> shlomif@telaviv1:~$ 
> 
> Works fine.
> 
> Please look into fixing it.

Looking at "perl --help | grep -- -l", command 'perl -l script' itself is
not correct usage of '-l' option.  The '-l' expects octal value
determining new-line symbol.  When you run 'perl -l13', completion works
OK.  I don't think that completing script name at that place makes sense,
that would just lead to confusion.

Pavel


_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel

Reply via email to