Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[bug] zcompile failes to compile
- X-seq: zsh-workers 28030
- From: JÃrg Sommer <joerg@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [bug] zcompile failes to compile
- Date: Sun, 13 Jun 2010 12:36:26 +0000 (UTC)
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=gnuu.de; s=banki; t=1276438877; i=@xxxxxxxxxxxx; bh=KS2j6w238eZVmh5942UxGz9I5nmWPvtvP FjT3UKeIp0=; h=To:From:Subject:Date:Message-ID:Mime-Version: Content-Type:Content-Transfer-Encoding:Sender; b=gLOD7zSMqummkVKxg g1ut56d4/DCId8HaM33tZCBBvL+odCRBM9Xlq7hHYiK9Ofyaqzig0WZHh6wkrqGOgND a/o9DkVLjQ7CdTRb9ZsZ+Z+MZPXk24X8BBU6MW2t/+C5FFUFkK2RJDZb5ZBEcUK4NED iLq74oDLtZa84OAdKT6o=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Sender: news <news@xxxxxxxxxxxx>
Hi,
% cat /tmp/test.sh
# -*- mode: sh -*-
echo $ZSH_VERSION
# with this line zcompile works
# alias ag=true
# but with this line zcompile fails
alias ag='LC_ALL=C true'
if false
then
agd()
{
true
}
else
alias agd=ag
fi
zcompile $0
% zsh -f /tmp/test.sh
4.3.10
% zsh-beta -f /tmp/test.sh
4.3.10-dev-1-cvs0603
/tmp/test.sh:12: parse error near `()'
/tmp/test.sh:zcompile:20: can't read file: /tmp/test.sh
Removing the LC_ALL=C from the alias ag or running zcompile at the
beginnig of the file works, but not the file above.
Bye, JÃrg
--
Angenehme Worte sind nie wahr,
wahre Worte sind nie angenehm.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author