[CentOS] simple if statement
Miguel Ángel MF
michelangelo13 at gmail.comFri Feb 27 11:32:49 UTC 2009
- Previous message: [CentOS] simple if statement
- Next message: [CentOS] simple if statement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 at ng23.net> 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 at centos.org > http://lists.centos.org/mailman/listinfo/centos > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090227/bc3418eb/attachment-0001.html>
- Previous message: [CentOS] simple if statement
- Next message: [CentOS] simple if statement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list