[Bash-completion-devel] GNU tar completion

Ville Skyttä ville.skytta at iki.fi
Thu Apr 17 12:57:11 UTC 2014


On Mon, Apr 14, 2014 at 4:10 PM, Pavel Raiskup <praiskup at redhat.com> wrote:

> I played a little with GNU tar completion.  Could you please consider
> attached patch?  Any comment is welcome, thanks.

Wow, that's more than "little" :). Just one comment for now:

> +# Everything is parsed from `tar --help` output

Have you tested this with tar implementations that don't do --help
and/or output something very different for it than GNU tar, for
example the Solaris and BSD tars? What's the expected outcome with
them? Even though the completion file says "for GNU tar", in practice
it is being used with other tars as well.



More information about the Bash-completion-devel mailing list