Path: csiph.com!xmission!news.glorb.com!usenet.stanford.edu!not-for-mail From: isabella parakiss Newsgroups: gnu.bash.bug Subject: ! in PS1 in posix mode Date: Sun, 11 Oct 2015 07:37:41 +0200 Lines: 13 Approved: bug-bash@gnu.org Message-ID: NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: usenet.stanford.edu 1444541865 11865 208.118.235.17 (11 Oct 2015 05:37:45 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=6NKSTGVsJgTLq8VPx70QGBrWKYjs5sXobncmQMuyR3M=; b=xMM88jfO4aIuG8ptdnPQfDUh00sX+7bfbKD1c+xK+18ftVgPm9XK8DGJdyowpRkGph tgk2JJSVYfl5SMWEn2lKPVKK80+G94odm35Juyn3zr8Ac+rXXOYz82u6e3r/hCNQx+fb rsuzWbtFqQG/yLc2cx6A53IPfFPnojURVl/qBU3Bh7PpGVr69Fn+8Hs/dZbgvYxriAnH cDHSH+6Zjm/SbRYmIXEgk4huK1hDVgeH4XjtrO51Xzi9VfZB702NUBDMv6Ea499i2Siq RKvqdlcwhXeYnWZmrZJXmcycQycDMRJH3tqaDVvs+hiqhrDhoh/idbBTyjRa10x5mzy/ 0J6A== X-Received: by 10.50.32.34 with SMTP id f2mr6091424igi.44.1444541861406; Sat, 10 Oct 2015 22:37:41 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::22f X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:11612 In posix mode, bash replaces ! in my PS1 with the history number. $ PS1=' ! ' ! set -o posix 513 exit It doesn't happen with any other prompt escape sequence, afaict. This looks... intentional? WTF? --- xoxo iza