zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <schizo@debian.org>
To: zsh-workers@sunsite.dk
Cc: 306346-forwarded@bugs.debian.org
Subject: [mpol@charybda.icm.edu.pl: Bug#306346: zsh: replacement seems broken in prompt]
Date: Mon, 25 Apr 2005 21:37:16 -0400	[thread overview]
Message-ID: <20050426013716.GA3958@scowler.net> (raw)

This is with 21170.

----- Forwarded message from Michal Politowski <mpol@charybda.icm.edu.pl> -----

Date: Tue, 26 Apr 2005 00:01:18 +0200
From: Michal Politowski <mpol@charybda.icm.edu.pl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Bug#306346: zsh: replacement seems broken in prompt

4.2.5-4 didn't show this behaviour, so maybe it's the newest patch.
${${foo}/?*/replacement} puts replacement in the prompt even when foo is empty
${foo/?*/replacement} works as expected.

On the command line, echo ${...} works as expected for both expressions,
printing nothing when foo is the empty string.

----- End forwarded message -----


             reply	other threads:[~2005-04-26  1:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-26  1:37 Clint Adams [this message]
2005-04-26  3:49 ` Bart Schaefer
2005-04-26  9:44   ` Peter Stephenson
2005-04-26 16:14     ` 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=20050426013716.GA3958@scowler.net \
    --to=schizo@debian.org \
    --cc=306346-forwarded@bugs.debian.org \
    --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).