[Orca-users] orca 0.27 make error on Solaris 9

Blair Zajac blair at orcaware.com
Thu Aug 26 18:07:03 PDT 2004

David Michaels wrote:

> Addendum:
> Note that a very common workaround for this sort of "this variable 
> might be empty" problem is to do the following:
>     if test "x$variable" != "x"; then
>         do stuff
>     fi
I think what I'll do is something like this:

if test "`echo $variable`" != ""; then
  do stuff

since the command line processing code will ignore whitespace.

Can you give this a shot and see if it works?


More information about the Orca-users mailing list