Re: \! and \# in PS1 vs PS2 vs PS4, PS0 and ${var@P}
From:
Grisha Levit
Subject:
Re: \! and \# in PS1 vs PS2 vs PS4, PS0 and ${var@P}
Date:
Tue, 21 Mar 2017 19:43:05 -0400
On Sat, Mar 18, 2017 at 3:21 PM, Chet Ramey <chet.ramey@case.edu> wrote:
> How would you suggest capturing this in the documentation in a way that
> would be clearer? The text from your previous message or something else?
I'm finding it hard to come up with a concise and accurate description
of the behavior since there's kind of a lot going on..
I took a stab at instead changing the behavior to make \! and \#
consistent for all of a command's prompt strings (patch attached);
perhaps this is a reasonable approach?