#804677 bash-completion: Bad completions for _longopt and "/'/"

#804677#5
Date:
2015-11-10 14:59:07 UTC
From:
To:
Setup:

    # . /etc/bash_completion
    # complete -p | grep tail
    complete -F _longopt tail

and "_longopt" from /usr/share/bash-completion/bash_completion I can see
this behaviour:

    # tail /'/
<tab> gives
    # tail /'//
<tab> gives
    # tail /'///
<tab> gives
    # tail /'////
<tab> gives
    # tail /'/////

etc.