Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Strange effect under 3.1.1
- X-seq: zsh-users 667
- From: jarausch@xxxxxxxxxxxxxxxxxxx (Helmut Jarausch)
- To: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- Subject: Strange effect under 3.1.1
- Date: Mon, 3 Feb 1997 12:19:35 +0100
- Cc: zsh-users@xxxxxxxxxxxxxxx
Hi,
I just noticed a very strange effect after having switched to 3.1.1 .
Please tell, what's going on here.
Thanks,
Helmut Jarausch.
I have a symbolic link /bin/shell -> /bin/zsh
This script works as expected
With fileA
#!/bin/zsh
echo $ZSH_VERSION
echo $argv[-1]
fileA 1 2 3
prints (as expected)
3.1.1
3
BUT with
fileB
#!/bin/shell
echo $ZSH_VERSION
echo $argv[2]
fileB 1 2 3
prints (not so expected)
3.1.1
[-1] <====================== what's going on here ?
--
Helmut Jarausch
Lehrstuhl f. Numerische Mathematik
Institute of Technology
RWTH Aachen
D 52056 Aachen, Germany
Messages sorted by:
Reverse Date,
Date,
Thread,
Author