[Bash-completion-devel] tc completion attempt

Raph gibboris at gmail.com
Sat Oct 16 22:01:31 UTC 2010


[ putting the bash completion mailing-list in CC: ]

On Sat, Oct 16, 2010 at 04:21:21PM +0200, Marek D. wrote:
> Hi,
> I tried to use tc completition and:
> and after tc and tab I've got:

Hi,
this "attempt" is now more than a year old.
But I don't currently use 'tc' nor I expect any exhaustive or bug-free
version anytime soon.


> 
> tc bash: return: -1: invalid option
> return: usage: return [n]
You may also want to use set -x in order to get more meaningful
backtraces.

I think you're not doing anything wrong so far.
I don't remember having had this problem. While it would be surprising
that bash recently changed its tolerance for returning signed integer.
-1 = 255, I attached a patch(1).

> 
> Please, let me know what I do wrong.
> 
> cat /proc/version
> Linux version 2.6.32-5-686 (Debian 2.6.32-23) (dannf at debian.org)
> (gcc version 4.3.5 (Debian 4.3.5-3) ) #1 SMP Sat Sep 18 02:14:45 UTC
> 2010
The "bash" and "bash-completion" packages versions would have been
important here.

> 
> Best regards,
> Marek D.

if there are concerns related to bash/bash-completion compatibility,
I may look at them in the comings weeks.


bye


Raphaël D.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tc_signed_return.patch
Type: text/x-diff
Size: 497 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20101017/927c50c7/attachment.patch>


More information about the Bash-completion-devel mailing list