From owner-freebsd-questions@FreeBSD.ORG Fri Jul 25 15:25:04 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 1371A37B401 for ; Fri, 25 Jul 2003 15:25:04 -0700 (PDT) Received: from ns.pro.sk (proxy.pro.sk [195.80.161.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71C0E43F93 for ; Fri, 25 Jul 2003 15:25:02 -0700 (PDT) (envelope-from prosa@pro.sk) Received: from peter (Peter [192.168.1.53]) by ns.pro.sk (8.11.3/8.11.3) with SMTP id h6PMOoE88113; Sat, 26 Jul 2003 00:24:50 +0200 (CEST) (envelope-from prosa@pro.sk) Message-ID: <036d01c352fb$8000a260$3501a8c0@pro.sk> From: "Peter Rosa" To: "Dan Nelson" References: <44wue68ebs.fsf@be-well.ilk.org><033601c352fa$93aa0280$3501a8c0@pro.sk> <20030725222200.GA2484@dan.emsphone.com> Date: Sat, 26 Jul 2003 00:24:23 +0200 Organization: PRO, s.r.o. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 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:25:04 -0000 But inside /bin is command named [ Is it what do you mean ? Or it should not be there and act only as an alias ? Peter Rosa ----- Original Message ----- From: "Dan Nelson" To: "Peter Rosa" Cc: "freebsd-questions" Sent: Saturday, July 26, 2003 12:22 AM Subject: Re: Problem with periodically done scripts > In the last episode (Jul 26), Peter Rosa said: > > Dear Gilbert, > > > > I have replaced wc with make install from /usr/src/usr.bin/wc and now it > > works. Up now wc -l gave no results, now it give proper number. > > > > Could you, please, explain the following line: [ $n -gt 0 -a $rc -lt 1 ] ??? > > Why are there [] ? When I write it at prompt as > > [0 -gt 0 -a - lt 0] it writes [: 0: unexpected operator, but > > [0 -gt 0 -a -lt ] writes nothing. > > [ is another way to run the "test" command. "man test" for more info. > > -- > Dan Nelson > dnelson@allantgroup.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >