Re: [SLUG] script error driving me crazy

From: Eben King (eben1@tampabay.rr.com)
Date: Tue Mar 16 2004 - 14:37:00 EST


On Tue, 16 Mar 2004, mrock wrote:

> if [[$pext - gt 299] - a [$ppext - lt 300] - a [$str -eq 1]] ;
> then

if [[ ( $pext -gt 299 ) && ( $ppext -lt 300 ) && ( $str -eq 1 ) ]]; then

Make sure your "-gt"s and "-lt"s are correct. Fencepost(?) errors are
hard to track down.

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar

An idea that is not dangerous is unworthy of being called an idea at all. -Oscar Wilde

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:20:58 EDT