zsh-workers
 help / color / mirror / code / Atom feed
* bug: ${a%>}
@ 2002-05-23  3:58 JulioB
  2002-05-23  5:05 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: JulioB @ 2002-05-23  3:58 UTC (permalink / raw)
  To: zsh-workers

Is this a bug or have I been smoking the same shit as Dubya?

% a="<text>"
% echo ${a#<} ${a%>} ${a#\<} ${a%\>}
text> <text> text> <text

Debian Linux 2.2
Linux 2.4.18 #2 Fri Mar 15 14:15:51 PST 2002 i686 unknown
zsh 4.0.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bug: ${a%>}
  2002-05-23  3:58 bug: ${a%>} JulioB
@ 2002-05-23  5:05 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2002-05-23  5:05 UTC (permalink / raw)
  To: JulioB; +Cc: zsh-workers

On Wed, 22 May 2002, JulioB wrote:

> Is this a bug or have I been smoking the same shit as Dubya?

Possibly both.  configure with --enable-zsh-debug and:

schaefer<502> echo ${a#<} ${a%>} ${a#\<} ${a%\>}
Oops. Bug in parse_subst_string: len < l
text> <text> text> <text

The problem is actually with the parsing of LX2_OUTANG in gettokstr(),
but I don't immediately see how to fix it.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-23  5:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-23  3:58 bug: ${a%>} JulioB
2002-05-23  5:05 ` Bart Schaefer

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).