From: <hzoli@VNET.IBM.COM> (Zoltan T. Hidvegi)
To: eggink@rrz.uni-hamburg.de (Bernd Eggink)
Cc: zsh-workers@math.gatech.edu
Subject: Re: bugs?
Date: Tue, 20 May 1997 15:58:24 -0400 (EDT) [thread overview]
Message-ID: <9705201958.AA15224@belgium.fishkill.ibm.com> (raw)
In-Reply-To: <3381BCFD.59E2@rrz.uni-hamburg.de> from Bernd Eggink at "May 20, 97 05:02:21 pm"
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
prev parent reply other threads:[~1997-05-20 20:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-05-20 15:02 bugs? Bernd Eggink
1997-05-20 19:58 ` Zoltan T. Hidvegi [this message]
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=9705201958.AA15224@belgium.fishkill.ibm.com \
--to=hzoli@vnet.ibm.com \
--cc=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).