zsh-workers
 help / color / mirror / code / Atom feed
From: Stephane CHAZELAS <Stephane_CHAZELAS@yahoo.fr>
To: Zsh hackers list <zsh-workers@sunsite.dk>
Subject: Re: echoti and number of arguments
Date: Sat, 17 May 2003 10:34:58 +0200	[thread overview]
Message-ID: <20030517103458.B128@pcchazelas.free.fr> (raw)
In-Reply-To: <20030517100115.A128@pcchazelas.free.fr>; from Stephane_CHAZELAS@yahoo.fr on Sat, May 17, 2003 at 10:01:16AM +0200

On Sat, May 17, 2003 at 10:01:16AM +0200, Stephane CHAZELAS wrote:
[...]
> Then, the way the argument count is checked in zsh is nonsense:
> 
>   /* count the number of arguments required */
>   for (argct = 0, u = t; *u; u++)
>       if (*u == '%') {
>           if (u++, (*u == 'd' || *u == '2' || *u == '3' || *u == '.' ||
>                     *u == '+'))
>               argct++;
>       }
[...]

I get it, it was copied from the termcap one. terminfo and
termcap escape handling are totally different.

-- 
Stéphane


  reply	other threads:[~2003-05-17  8:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-17  8:01 Stephane CHAZELAS
2003-05-17  8:34 ` Stephane CHAZELAS [this message]
2003-05-19 10:28 ` Peter Stephenson
2003-05-19 14:51   ` Stephane CHAZELAS
2003-06-24 18:04     ` PATCH: " Oliver Kiddle

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=20030517103458.B128@pcchazelas.free.fr \
    --to=stephane_chazelas@yahoo.fr \
    --cc=zsh-workers@sunsite.dk \
    /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).