[NBLUG/talk] shell scripting help

gandalf at sonic.net gandalf at sonic.net
Tue Jun 10 15:39:43 PDT 2008


Isn't that completely reversed from perl/php?

"There probably isn't any meaning in life. Perhaps you can find something interesting to do while you are alive." - Orochimaru (Naruto)

 On Tue 10/06/08  3:28 PM , Bill Kendrick nbs at sonic.net sent:
> On Tue, Jun 10, 2008 at 03:05:14PM -0700, Lincoln Peters wrote:
> 
> > On Tue, Jun 10, 2008 at 1:46 PM, Sean seanvanco
> @gmail.com> wrote:
> > > while [ loops != 180 ]
> 
> > 
> 
> > Try this:
> 
> > while [ loops -ne 180 ]
> 
> > 
> 
> > I don't know why you need to use that notation, but
> at least it seems to work.
> 
> 
> != is for strings, -ne is for arithmetic.  *shrug*
> 
> 
> 
> -- 
> 
> -bill!
> 
> bil
> l at newbreedsoftware.com
> http://www.newbreedsoftware.com/
> 
> 
> _______________________________________________
> 
> talk mailing list
> 
> talk at nblug.org
> 
> http://nblug.org/cgi-bin/mailman/listinfo/talk
> 
> 
> 
> 
> 




More information about the talk mailing list