Re: [Bash-completion-devel] [SCM] bash-completion branch, master, updated. 1.3-512-g9717124

2011-11-09 Thread Guillaume Rousse
Le 07/11/2011 20:27, Ville Skyttä a écrit : Ah, true for chkconfig, but for service that seems to be a Mandriva specific thing/patch. It doesn't do xinetd stuff on Fedora, Debian, OpenSUSE or CentOS. I'd like to get those things out of the way for non-Mandriva setups for service -- is checking

Re: [Bash-completion-devel] [SCM] bash-completion branch, master, updated. 1.3-512-g9717124

2011-11-09 Thread Igor Murzov
On Tue, 08 Nov 2011 18:21:21 +0200 Ville Skyttä ville.sky...@iki.fi wrote: Good. Can I push this variant to the master branch? Sure, go ahead. But I've run into something not nice at all (and not at all related to your changes): $ bash --norc $ _foo() { echo -n completing foo ; } $

Re: [Bash-completion-devel] [SCM] bash-completion branch, master, updated. 1.3-532-gd54db35

2011-11-09 Thread Igor Murzov
+local var=NPROCESSORS_ONLN +[[ $OSTYPE == *linux* ]] var=_$var +local n=$( getconf $var 2/dev/null ) +printf %s ${n:-1} I don't know why, but on my system getconf works differently (note the leading underscore in the variable name): $ LANG=C getconf NPROCESSORS_ONLN