Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zcompiled scripts
- X-seq: zsh-users 7129
- From: Thorsten Kampe <thorsten@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: zcompiled scripts
- Date: Thu, 11 Mar 2004 03:13:28 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: news <news@xxxxxxxxxxxxx>
Hi,
is it possible to test for a compiled script (.zwc) whether the script
or the complied version ist executed?
I made a script with "echo 111" inside and compiled it with "zcompile
test.zsh". After that I modified the script to "echo 222" and
executed "touch test.zsh.zwc" to fool zsh in believing that the old
"test.zsh.zwc" is the newer one of both.
But unfortunately "./test.zsh" displayed "222" (the value of the
script) and not "111" (the value of the compiled script).
Anyone hints?
Thorsten
Messages sorted by:
Reverse Date,
Date,
Thread,
Author