Linux-Dash Archive mirror
 help / color / mirror / Atom feed
From: Zygmunt Krynicki <zygoon@me.com>
To: dash@vger.kernel.org
Subject: Infinite loop expanding PS1='${PWD/#foo/bar} '
Date: Wed, 19 Feb 2020 12:46:02 +0100	[thread overview]
Message-ID: <0F40565C-5717-491C-8450-A747614F86A9@me.com> (raw)

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.

             reply	other threads:[~2020-02-19 11:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-19 11:46 Zygmunt Krynicki [this message]
2020-02-19 12:24 ` Infinite loop expanding PS1='${PWD/#foo/bar} ' Ron Yorston

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=0F40565C-5717-491C-8450-A747614F86A9@me.com \
    --to=zygoon@me.com \
    --cc=dash@vger.kernel.org \
    /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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).