From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3/2) with ESMTP id CAA03346 for ; Thu, 6 Jun 1996 02:11:42 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id MAA28443; Wed, 5 Jun 1996 12:03:33 -0400 (EDT) Resent-Date: Wed, 5 Jun 1996 12:03:33 -0400 (EDT) From: "Bart Schaefer" Message-Id: <960605090343.ZM5719@candle.brasslantern.com> Date: Wed, 5 Jun 1996 09:03:41 -0700 In-Reply-To: Carlos Carvalho "beta 19 cannot run this script" (Jun 5, 11:59am) References: Reply-To: schaefer@nbn.com X-Mailer: Z-Mail (4.0b.529 29may96) To: Carlos Carvalho , zsh-workers@math.gatech.edu Subject: Re: beta 19 cannot run this script MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"pdqqp2.0.Ly6.K_Qjn"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1263 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Jun 5, 11:59am, Carlos Carvalho wrote: } Subject: beta 19 cannot run this script } } I had to link /bin/sh to zsh in order to make automatic tex font } generation work. However, zsh (called as sh), doesn't run this script: This seems to be the problem: ====== bash: $ [ ! ] && echo OK OK ====== True Bourne shell: $ [ ! ] && echo OK [: argument expected ====== zsh: % [ ! ] && echo OK [: argument expected ====== So I think zsh is OK in this case. Here's the culprit in the script: if [ ! $APS_BASEDIR ]; then This isn't a very portable script in the first place. A better test for a variable being unset would be: if [ -z "$APS_BASEDIR" ]; then -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.nbn.com/people/lantern New male in /home/schaefer: >N 2 Justin William Schaefer Sat May 11 03:43 53/4040 "Happy Birthday"