[CentOS] simple if statement

Fri Feb 27 11:34:14 UTC 2009
Per Qvindesland <per at norhex.com>

I normally do it this way:
if (length($remaining) == 0) { &do_exit; }

Per

Hi

Below if $remaining is empty i want the if to finish - what is it i need
to put in SOMETHING?

if [ "$remaining" = "" ] ; then
            SOMETHING ;
        else
            kill -9 $remaining
fi