Re: [PATCH 1/2] iptables: utils: Add bash completion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 2016-03-02 12:34, Pablo Neira Ayuso wrote:
>On Thu, Feb 25, 2016 at 04:06:53PM +0100, Mart Frauenlob wrote:
>> This is a fully featured completion for ip[6]tables.
>>  utils/iptables_bash_completion/README.md |  290 ++++
>>  utils/iptables_bash_completion/iptables  | 2426 ++++++++++++++++++++++++++++++
>
>This is fair good amount of work, but this is also quite a bit of
>new shell code to be maintained in our trees.

That much is true..

>Moreover, I was told that, in the specific case of debian, there is a
>package (bash-completion) where you place this.

In other environments, bash-completion is more of a dumping ground
for scripts that (1.) do not live with their upstream, _and_, (2.)
also do not live with the distro-level source package for some
reason.

12:42 zap:~ # rpm -qf /etc/bash_completion.d/* /usr/share/bash-completion/* | sort -u
btrfsprogs-4.3.1-10.1.x86_64
grub2-2.02~beta2-20.14.2.x86_64
gstreamer-1.6.3-65.3.x86_64
kmod-21-0.x86_64
libreoffice-5.0.4.2-28.1.x86_64
util-linux-2.25.1-20.1.x86_64
util-linux-systemd-2.25.1-20.1.x86_64
youtube-dl-2016.03.01-101.1.noarch
zypper-1.11.34-1.1.x86_64
[...]

Having the completion script in the iptables releases would easily
ensure it always trickles down to distros in the same fashion, without
distro-level maintainers have to pull it down from $some_random_place.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux