From owner-freebsd-questions@FreeBSD.ORG Fri Jul 25 15:33:35 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36D0337B401 for ; Fri, 25 Jul 2003 15:33:34 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4446C43F85 for ; Fri, 25 Jul 2003 15:33:33 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h6PMXWrm023590; Fri, 25 Jul 2003 17:33:32 -0500 (CDT) (envelope-from dan) Date: Fri, 25 Jul 2003 17:33:32 -0500 From: Dan Nelson To: Peter Rosa Message-ID: <20030725223332.GC2484@dan.emsphone.com> References: <20030725222200.GA2484@dan.emsphone.com> <037d01c352fc$67001240$3501a8c0@pro.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <037d01c352fc$67001240$3501a8c0@pro.sk> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: freebsd-questions Subject: Re: Problem with periodically done scripts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2003 22:33:35 -0000 In the last episode (Jul 26), Peter Rosa said: > And what's wrong on [ 0 -gt 0 -a -lt 0]. -lt needs a number in front of it, since it does a less-than comparison. > > > Could you, please, explain the following line: [ $n -gt 0 -a $rc -lt 1 ] ... which means that $rc is probably empty. -- Dan Nelson dnelson@allantgroup.com