[Bash-completion-devel] RFC: function to check if an array contains something
Ville Skyttä
ville.skytta at iki.fi
Mon Nov 23 19:57:16 UTC 2009
On Monday 23 November 2009, Ville Skyttä wrote:
> Hello,
>
> Quite a few completions would and do benefit from checking if some argument
> was already given, not only checking if it was the previous one. I think
> this is tedious enough to warrant a helper function for it, assuming I
> didn't miss a nice way to do it in bash.
>
> So, how about the attached patch?
Nah, I looked more closely into the potential and actual use cases and found
that this doesn't bring that many benefits after all, so I'm withdrawing the
patch.
More information about the Bash-completion-devel
mailing list