From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21714 invoked from network); 8 Apr 1998 01:12:47 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 8 Apr 1998 01:12:47 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id UAA07123; Tue, 7 Apr 1998 20:51:27 -0400 (EDT) Resent-Date: Tue, 7 Apr 1998 20:47:34 -0400 (EDT) From: "Bart Schaefer" Message-Id: <980407174653.ZM11478@candle.brasslantern.com> Date: Tue, 7 Apr 1998 17:46:53 -0700 In-Reply-To: <199804072309.TAA06142@luomat.peak.org> Comments: In reply to Timothy J Luoma "help with parse error" (Apr 7, 7:09pm) References: <199804072309.TAA06142@luomat.peak.org> X-Mailer: Z-Mail (4.0b.820 20aug96) To: Timothy J Luoma , zsh-users@math.gatech.edu Subject: Re: help with parse error MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"nvBFU1.0.6k1.caiAr"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1443 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 Apr 7, 7:09pm, Timothy J Luoma wrote: } Subject: help with parse error } } function> for i in "$*" } function for> do } function for> if [ -r "$i" ] } function for if> then } function for then> else } function for else> fi } function for else> done ^^^^^ Note, zsh thinks you're still in the "else" clause! } zsh: parse error near `done' } } I'm sure it's obvious.... but I've been looking at it and it makes no sense } to me... Check to see whether you have aliased "fi" to something else. That's the only thing I know of that can cause this behavior. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com