zsh-workers
 help / color / mirror / code / Atom feed
From: Bernd Eggink <eggink@rrz.uni-hamburg.de>
To: zsh-workers mailing list <zsh-workers@math.gatech.edu>
Subject: bugs?
Date: Tue, 20 May 1997 17:02:21 +0200	[thread overview]
Message-ID: <3381BCFD.59E2@rrz.uni-hamburg.de> (raw)

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


             reply	other threads:[~1997-05-20 15:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-20 15:02 Bernd Eggink [this message]
1997-05-20 19:58 ` bugs? Zoltan T. Hidvegi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3381BCFD.59E2@rrz.uni-hamburg.de \
    --to=eggink@rrz.uni-hamburg.de \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).