"Dave Rutherford" <[EMAIL PROTECTED]> wrote: > On 7/31/06, Poor Yorick <[EMAIL PROTECTED]> wrote: >> : ${FAKEVAR?} || echo hello > > Try this and then run your script: > > export FAKEVAR="echo This could have been rm -rf $HOME"
That won't do anything. The contents of $FAKEVAR, if any, are just passed as arguments to :, which does nothing. Since the expansion isn't quoted, word splitting and pathname expansion are applied - that's extra useless work, but not harmful. paul _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash