dash.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Infinite loop expanding PS1='${PWD/#foo/bar} '
@ 2020-02-19 11:46 Zygmunt Krynicki
  2020-02-19 12:24 ` Ron Yorston
  0 siblings, 1 reply; 2+ messages in thread
From: Zygmunt Krynicki @ 2020-02-19 11:46 UTC (permalink / raw)
  To: dash

Hello

I am no subscribed so please CC me on the relies to this thread.

I’d like to report a bug.

While working on another project I managed to reproduce and debug a problem in dash.
Setting PS1 to something that does not expand correctly, like the example in the title, causes
Dash to enter an infinite loop.

I didn’t attempt to fix it yet as I’m not familiar with dash internals.

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

* Re: Infinite loop expanding PS1='${PWD/#foo/bar} '
  2020-02-19 11:46 Infinite loop expanding PS1='${PWD/#foo/bar} ' Zygmunt Krynicki
@ 2020-02-19 12:24 ` Ron Yorston
  0 siblings, 0 replies; 2+ messages in thread
From: Ron Yorston @ 2020-02-19 12:24 UTC (permalink / raw)
  To: zygoon, dash

Zygmunt Krynicki wrote:
>Setting PS1 to something that does not expand correctly, like the
>example in the title, causes Dash to enter an infinite loop.

This is a known problem.  There's a patch to fix it here:

   https://patchwork.kernel.org/patch/11343121/

Ron

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

end of thread, other threads:[~2020-02-19 12:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-19 11:46 Infinite loop expanding PS1='${PWD/#foo/bar} ' Zygmunt Krynicki
2020-02-19 12:24 ` Ron Yorston

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