[clug] Shell glob for a range of numbers?

Nathan Rickerby nath at yossman.net
Fri Jan 9 03:47:25 GMT 2004


< while [ $target != 0]
---
> while [ $target != -1]

On Fri, Jan 09, 2004 at 02:03:38PM +1100, Michael Still wrote:
> On Fri, 9 Jan 2004, McClure, Mike wrote:
> 
> > > From: Michael Still [mailto:mikal at stillhq.com]
> > 
> > um, bogo search algorithm huh?
> >    if [ $averybadnameforavariable -lt 4 ]
> > should read
> >    if [ $averybadnameforavariable -gt 4 ]
> 
> True, but not the bug I was thinking of... I tell you what, the first 
> person to publically guess can have pizza on me next CLUG.
> 
> Cheers,
> Mikal
> 
> -- 
> 
> Michael Still (mikal at stillhq.com) | "All my life I've had one dream,
> http://www.stillhq.com            |  to achieve my many goals"
> UTC + 11                          |    -- Homer Simpson


More information about the linux mailing list