From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18128 invoked from network); 20 May 1997 20:03:23 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 20 May 1997 20:03:23 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id PAA03951; Tue, 20 May 1997 15:54:59 -0400 (EDT) Resent-Date: Tue, 20 May 1997 15:54:59 -0400 (EDT) From: (Zoltan T. Hidvegi) Message-Id: <9705201958.AA15224@belgium.fishkill.ibm.com> Subject: Re: bugs? In-Reply-To: <3381BCFD.59E2@rrz.uni-hamburg.de> from Bernd Eggink at "May 20, 97 05:02:21 pm" To: eggink@rrz.uni-hamburg.de (Bernd Eggink) Date: Tue, 20 May 1997 15:58:24 -0400 (EDT) Cc: zsh-workers@math.gatech.edu X-Mailer: ELM [version 2.4ME+ PL31H (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"ADPxq.0.gz.I6WWp"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3160 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Bernd Eggink wrote: > 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? No, the separator cannot be escaped here, but you can use any character as a separator. E.g. ${(s[:])x} works. > 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 I'll try to look at this. Zoltan