On 7/31/06, Paul Jarc <[EMAIL PROTECTED]> wrote:
"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.
Oh, yes; you're quite right. I couldn't see the colon in this font and thought he was evaluating a possibly nonempty variable as a command, which is apparently a bad idea that no-one had. Sorry. Dave _______________________________________________ Bug-bash mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-bash
