Re: PS0 vs. \[ \] followup

Koichi Murase <[email protected]> Mon, 15 Jun 2026 09:55:32 +0900
Newsgroups gmane.comp.shells.bash.bugs
Message-ID <CAFLRLk-0cMLE-SQqTkOPRtnisq7hLzd=AbYgPudmDpwuXNApfw@mail.gmail.com>
2026=E5=B9=B46=E6=9C=8812=E6=97=A5(=E9=87=91) 4:46 Chet Ramey <chet.ramey@c=
ase.edu>:
> On 6/9/26 7:52 PM, Robert Elz wrote:
> >    | You seem to support
> >    | pre-`promptvars' removal in the current devel branch, but it actua=
lly
> >    | only removes the embedded markers halfway. To remove those markers=
,
> >    | including the ones emitted by command substitutions of a prompt
> >    | framework, one needs to remove them after `promptvars' instead of
> >    | pre-`promptvars' removal.
>
> This is not a good idea.

Why? I couldn't read the background or the reasoning from the context.

--
Koichi