From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28133 invoked from network); 27 Jan 1998 15:30:20 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 27 Jan 1998 15:30:20 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id KAA18119; Tue, 27 Jan 1998 10:08:45 -0500 (EST) Resent-Date: Tue, 27 Jan 1998 10:04:38 -0500 (EST) Sender: rz2a022@rrz.uni-hamburg.de Message-ID: <34CDF7DF.EBE69AEE@rrz.uni-hamburg.de> Date: Tue, 27 Jan 1998 16:06:07 +0100 From: Bernd Eggink Organization: Regionales Rechenzentrum der Uni Hamburg X-Mailer: Mozilla 4.03 [en] (X11; I; Linux 2.0.30 i586) MIME-Version: 1.0 To: zsh mailing list Subject: Two questions Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-ID: <"QNCC_3.0.bP4.5UVpq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1281 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 1. The manual says that array elements are numbered beginning with 1 unless the KSH_ARRAYS option is set. But actually array[0] works fine and seems to be a synonym for array[1]. Bug or feature? This has the great disadvantage that you cannot rely on "$array[i,j]" always being empty if j < i. 2. There is an inconsistency in the behavior of the expression ${a:h} which is said to give the "head" of $a. If a=x/y/z, the result is x/y; but if a=x, the result is x. My understanding of "head" is that the result in the latter case should be empty. Again: Bug or feature? Regards, Bernd -- Bernd Eggink Regionales Rechenzentrum der Universitaet Hamburg eggink@rrz.uni-hamburg.de http://www.rrz.uni-hamburg.de/eggink/BEggink.html