The following command does not echo "hello".

: ${FAKEVAR?} || echo hello

This seems inconsistent, since the return status is set to 1.  It would be a 
convenient and concise syntax for acting on unset variables.

-- 
Poor Yorick


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to