*BSD News Article 82320


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!manawatu.planet.co.nz!manawatu.gen.nz!unix.triton.net!news.internet1.net!news-out.internetmci.com!news.internetMCI.com!newsfeed.internetmci.com!feed1.news.erols.com!hunter.premier.net!www.nntp.primenet.com!nntp.primenet.com!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@anorak.coverform.lan (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: HELP: [: not found in daily run output
Date: 5 Nov 1996 00:49:58 -0000
Organization: Coverform Ltd.
Lines: 23
Sender: brian@awfulhak.demon.co.uk
Message-ID: <55m2vm$3h2@anorak.coverform.lan>
References: <327D459E.65AF@znet.net.au>
Reply-To: brian%anorak.coverform.lan@awfulhak.demon.co.uk
NNTP-Posting-Host: anorak.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8

In article <327D459E.65AF@znet.net.au>,
	Nigel Gorry <nigel@znet.net.au> writes:
: Hi,
: 
: My daily run output has started looking like this:
: 
: Removing scratch and junk files:
: [: not found
: [: not found
: [: not found
: [: not found

[.....]

Try putting a "set -x" at the top of the script - and maybe a
"/bin/[ -f /bin/[ ] && echo Got test".  In fact, try this in
front of a normal prompt.

-- 
Brian <brian%anorak.coverform.lan@awfulhak.demon.co.uk>
      <http://www.awfulhak.demon.co.uk/>
Don't _EVER_ lose your sense of humour....
.