Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: help with parse error
- X-seq: zsh-users 1443
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Timothy J Luoma <luomat+Lists/Zsh/users@xxxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: help with parse error
- Date: Tue, 7 Apr 1998 17:46:53 -0700
- In-reply-to: <199804072309.TAA06142@xxxxxxxxxxxxxxx>
- References: <199804072309.TAA06142@xxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author