From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14292 invoked from network); 21 Oct 1998 07:44:07 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 21 Oct 1998 07:44:07 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id DAA23473; Wed, 21 Oct 1998 03:32:38 -0400 (EDT) Resent-Date: Wed, 21 Oct 1998 03:32:15 -0400 (EDT) Message-Id: Date: Wed, 21 Oct 1998 09:33:09 +0200 (MET-DST) From: Goran Larsson Subject: Re: Backticks In zshenv To: zsh-users@math.gatech.edu In-Reply-To: <981020095542.ZM5494@candle.brasslantern.com> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Resent-Message-ID: <"ks8s81.0.4k5.-tOBs"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1881 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On 20 Oct, Bart Schaefer wrote: > I've just seen the same problem, on a newly-installed RedHat 5.1 Linux > system with the zsh-3.0.5-2 RPM. The /etc/zshenv file contains > > if [[ `id -u` -eq 0 ]] > then > ... > fi Some days ago this code (executed by zsh 3.1.4) failed, one time only, with the error "zsh: parse error: condition expected: = ". if [ `/usr/ucb/whoami` = root ]; then PATH_LAST=$PATH_LAST:/usr/etc fi > problems. I'd assumed it was something about the "id" program. and "whoami" :-) -- Goran Larsson hoh@approve.se I was an atheist, http://home1.swipnet.se/%7Ew-12153/ until I found out I was God.