Re: bug in dbus dhclient script patch?



On Fri, 2005-10-28 at 17:10 -0600, Brett Johnson wrote:
> Either I need to be bash-educated, or I've found a little bug in the
> dbus patch for the dhclient script.
> 
> So, problem #1 to my bash-n00b mind is that the line:
>         if (( ( dhc_dbus & 31 ) == 31 )); then
> is missing a "$" before "dhc_dbus".  Am I missing something that is
> obvious to someone more experienced in bash scripting?

Arithmetic evaluation blocks ("((expression))") are special; shell
variables may be referenced by name. See bash(1) under ARITHMETIC
EVALUATION.




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