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

2011-11-11 Thread Igor Murzov
On Fri, 11 Nov 2011 09:36:54 +0200 Ville Skyttä ville.sky...@iki.fi wrote: On 11/09/2011 10:20 PM, Igor Murzov wrote: +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

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