Path: csiph.com!au2pb.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!169.228.66.3.MISMATCH!ihnp4.UCSD.Edu!usenet.stanford.edu!not-for-mail From: Chet Ramey Newsgroups: gnu.bash.bug Subject: Re: ! in PS1 in posix mode Date: Mon, 12 Oct 2015 20:24:13 -0400 Organization: ITS, Case Western Reserve University Lines: 19 Approved: bug-bash@gnu.org Message-ID: References: <561A6877.4010709@case.edu> <561BDFBA.4020304@tlinx.org> <561C029E.8060703@case.edu> <561C3C22.3010900@tlinx.org> Reply-To: chet.ramey@case.edu NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: usenet.stanford.edu 1444695876 31037 208.118.235.17 (13 Oct 2015 00:24:36 GMT) X-Complaints-To: action@cs.stanford.edu Cc: isabella parakiss , bug-bash , chet.ramey@case.edu To: Linda Walsh Envelope-to: bug-bash@gnu.org User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <561C3C22.3010900@tlinx.org> X-Junkmail-Whitelist: YES (by domain whitelist at mpv1.tis.cwru.edu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 129.22.105.36 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: , X-Received-Bytes: 2670 X-Received-Body-CRC: 19219375 Xref: csiph.com gnu.bash.bug:11640 On 10/12/15 7:02 PM, Linda Walsh wrote: >> It happens in posix mode. > --- > How lame! It's a '!' in a quoted string. Another example > of posix braindeath -- how long before people realize that the > thing branded 'posix' now isn't the real posix that was started > to *describe* behaviors, not prescribe or proscribe behaviors. Do you realize that this prompt expansion was in ksh since at least ksh-86? ksh-88 was one of the Posix base documents, and that expansion was estabished behavior by the time Posix started its work. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/