zsh-workers
 help / color / mirror / code / Atom feed
From: Phil Pennock <phil@athenaeum.demon.co.uk>
To: zsh-workers@math.gatech.edu
Subject: Re: Arithmetic expression (bug?)
Date: Thu, 5 Nov 1998 01:40:25 +0000 (GMT)	[thread overview]
Message-ID: <199811050140.BAA02822@athenaeum.demon.co.uk> (raw)
In-Reply-To: <3640CFA1.B40B6771@uni-hamburg.de> from Bernd Eggink at "Nov 4, 98 11:05:21 pm"

Typing away merrily, Bernd Eggink produced the immortal words:
> > -----------------------------< cut here >-------------------------------
> > foo=alpha
> > print -- ${(l<$[10]><x>)foo}
> > print -- ${(l<10><x>)foo}
> > -----------------------------< cut here >-------------------------------
> > why does the third line produce:
> > ./testfile: error in flags [3]
> > ?
> 
> I can't reproduce this. For me it works perfectly. I get the expected
> 
> xxxxxalpha
> 
> Hm, are you sure the right shell is started with your script? 

Yes.  I used ``zsh -f'' and this is 3.1.5, with, as I said, no patches.

Extra detail:
 OS:   SuSE Linux (2.0.34+patches kernel)
 Arch: x86 PC (AMD K6)
 Configure options: --enable-dynamic
 Misc: Defaults used for all stages of install, except for enabling
       modules.
 Note: I know I'm missing something ...

Note that there are two print statements.  The first works, the second
doesn't.

And I know, I probably shouldn't use a 3.1.x as a default shell, but
I've come to rely on things like widgets.  If for nothing else, then to
have an invocation of setfont(8) bound to a func-key to restore sanity
after X11 horribly hexes things.  And having cdpause(1) bound is one of
those things you wonder how you ever did without.

I'm on the list now, BTW, so there's no need to CC.  But thanks anyway.
:^)
-- 
--> Phil Pennock ; GAT d- s+:+ a22 C++(++++) UL++++/I+++/S+++/H+ P++@ L+++
E-@ W(+) N>++ o !K w--- O>+ M V !PS PE Y+ PGP+ t-- 5++ X+ R !tv b++>+++ DI+ D+
G+ e+ h* r y?


  reply	other threads:[~1998-11-05  1:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-04 21:34 Phil Pennock
1998-11-04 22:05 ` Bernd Eggink
1998-11-05  1:40   ` Phil Pennock [this message]
1998-11-15 22:21     ` Bart Schaefer
1998-11-15 22:46 ` Bart Schaefer
1998-11-15 23:19   ` PATCH: 3.1.5 and 3.0.5: ${(l<e><s1><s2>)param} (was Re: Arithmetic expression (bug?)) Bart Schaefer
1998-11-15 23:25 ` More about ${(l:e::s1::s2:)param} Bart Schaefer

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=199811050140.BAA02822@athenaeum.demon.co.uk \
    --to=phil@athenaeum.demon.co.uk \
    --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).