On Fri, Jul 31, 2009 at 4:15 PM, Joerg Albert<jal2@xxxxxx> wrote: > On 07/31/2009 08:56 PM, Pavel Roskin wrote: > >> No, I didn't mean that. I meant: >> >> if [ -z "" ] && [ -z "" ]; then echo "both empty"; fi >> ... >> We should not rely on any bash features as /bin/sh may not be bash at >> all. > > Agreed. Will repost the patch. Actually please do keep relying on /bin/bash, all the scripts on compat-wireless do depend on /bin/bash, I don't expect users of dash/etc to use compat-wireless. If we want to make compat-wireless be shell agnostic we'd need to address all the other scripts. I rather not deal with that now unless we really think that is also a good idea and someone is up for the task. Luis -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html