Re: simple if statement

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



You have to put in NOTHING, i.e.:

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


A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



http://www.brainyquote.com/quotes/authors/m/muhammad_ali.html

http://www.brainyquote.com/quotes/authors/e/emma_goldman.html

http://www.brainyquote.com/quotes/authors/m/michelangelo.html




W. C. Fields  - "I never drink water because of the disgusting things that fish do in it."

On Fri, Feb 27, 2009 at 12:14 PM, Tom Brown <tom@xxxxxxxx> wrote:
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

thanks?
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux