Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11628 > unrolled thread

Re: ! in PS1 in posix mode

Started byGreg Wooledge <wooledg@eeg.ccf.org>
First post2015-10-12 12:34 -0400
Last post2015-10-12 12:34 -0400
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: ! in PS1 in posix mode Greg Wooledge <wooledg@eeg.ccf.org> - 2015-10-12 12:34 -0400

#11628 — Re: ! in PS1 in posix mode

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2015-10-12 12:34 -0400
SubjectRe: ! in PS1 in posix mode
Message-ID<mailman.155.1444667672.7904.bug-bash@gnu.org>
On Mon, Oct 12, 2015 at 09:28:42AM -0700, Linda Walsh wrote:
> Chet Ramey wrote:
> >http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_05_03
> >
> >"The shell shall replace each instance of the character '!' in PS1 with
> >the history file number of the next command to be typed."
> 
> I've never seen that -- even when my prompt has
> ! in it...maybe it's cause I have histexpand 'off'?

Same here.

imadev:~$ PS1=' ! > '
 ! > 

If that's a bug, please don't "fix" it.

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web