[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Quick Bash question

On Fri, 3 Jan 2003, Bill Moseley wrote:

> In other words, from what I can see it seems as if the program "foo" is
> not run, although it it claims "ran foo".
>     if : -n foo >/dev/null 2>&1 && ! : foo >/dev/null 2&1> ; then
>        echo "failed to load"
>     else
>        echo "ran foo"
>     fi

Never mind.  Now that I've had some sleep I think that code is suppose
to be basically a noop.

Bill Moseley moseley@hank.org

Reply to: