From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16871 invoked from network); 20 May 1997 15:34:30 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 20 May 1997 15:34:30 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id KAA26818; Tue, 20 May 1997 10:58:46 -0400 (EDT) Resent-Date: Tue, 20 May 1997 10:58:46 -0400 (EDT) Sender: rz2a022@rrz.uni-hamburg.de Message-Id: <3381BCFD.59E2@rrz.uni-hamburg.de> Date: Tue, 20 May 1997 17:02:21 +0200 From: Bernd Eggink Organization: RRZ Uni Hamburg X-Mailer: Mozilla 3.01 (X11; I; AIX 1) Mime-Version: 1.0 To: zsh-workers mailing list Subject: bugs? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-ID: <"LhknN3.0.zY6.bmRWp"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3159 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Hi experts, 1. I tried to split a parameter into words using the separator ':'. Neither of this works: x=a:b:c print ${(s:::)x} print ${(s:\::)x} print ${(s:':':)x} What I get is the message "zsh: error in flags". Although I could work around it, I'd like to know if it _should_ work? 2. The 'select' statement doesn't check its input properly. If you enter, e.g., "2blah", it is taken as "2" and the rest is ignored. This makes some things inconvenient. For example, I freqently use select in a function that realizes a checklist, where you can check and uncheck single items as well as ranges in the form "4-13". In order to test if a range has been entered, I have to examine REPLY before the select-variable, which is somewhat unsatisfying. The original ksh88 shows the same behavior. I told David Korn about it some time ago, and he, too, considered this a bug. Regards, Bernd -- Bernd Eggink Regionales Rechenzentrum der Uni Hamburg eggink@rzaix13.rrz.uni-hamburg.de http://www.rrz.uni-hamburg.de/eggink/BEggink.html