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


Groups > gnu.bash.bug > #11640

Re: ! in PS1 in posix mode

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 <chet.ramey@case.edu>
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 <mailman.189.1444695875.7904.bug-bash@gnu.org> (permalink)
References <CAAZkfoLdwArFQ4_jB5uL9M+Tr8Kv69XbeJiFw3_NS3HPb=4LSQ@mail.gmail.com> <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 <izaberina@gmail.com>, bug-bash <bug-bash@gnu.org>, chet.ramey@case.edu
To Linda Walsh <bash@tlinx.org>
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 <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
X-Received-Bytes 2670
X-Received-Body-CRC 19219375
Xref csiph.com gnu.bash.bug:11640

Show key headers only | View raw


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/

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: ! in PS1 in posix mode Chet Ramey <chet.ramey@case.edu> - 2015-10-12 20:24 -0400

csiph-web