On Wed, Nov 19, 2014 at 11:22:48PM +0100, Piotr Grzybowski wrote: > On Wed, Nov 19, 2014 at 11:16 PM, Greg Wooledge <wool...@eeg.ccf.org> wrote: > > So far, so good. But.... > > > > imadev:~$ foo() { echo foo; } > > imadev:~$ foo=bar > > imadev:~$ is_defined3 foo ; echo $? > > 1 > > Greg, does that mean, that "nothing works correctly"?
It demonstrates how easy it is to do things wrong in bash. Eduardo is an experienced bash programmer, and even after several tries, he still got it wrong.