Dash Archive mirror
 help / color / mirror / Atom feed
From: Herbert Xu <herbert@gondor.apana.org.au>
To: Berthold Lorke <berthold@lorke.de>
Cc: dash@vger.kernel.org
Subject: Re: PS1 is not implemented as specified in IEEE Std 1003.1-2017
Date: Wed, 26 Jan 2022 17:57:31 +1100	[thread overview]
Message-ID: <YfDw2yS+Ct+BGJZ1@gondor.apana.org.au> (raw)
In-Reply-To: <bdc481b1-79b4-7f93-97da-8a4b01c41be0@lorke.de>

Berthold Lorke <berthold@lorke.de> wrote:
> Hello!
> 
> The POSIX standard specifies for PS1 
> https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
> 
> 
> ```
> PS1
> 
> Each time an interactive shell is ready to read a command, the value of 
> this variable shall be subjected to parameter expansion and written to 
> standard error. The default value shall be "$ ". For users who have 
> specific additional implementation-defined privileges, the default may 
> be another, implementation-defined value. The shell shall replace each 
> instance of the character '!' in PS1 with the history file number of the 
> next command to be typed. Escaping the '!' with another '!' (that is, 
> "!!" ) shall place the literal character '!' in the prompt. This volume 
> of POSIX.1-2017 specifies the effects of the variable only for systems 
> supporting the User Portability Utilities option.
> ```

Dash doesn't support the full set of UPU options and that includes
history.

Cheers,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

      reply	other threads:[~2022-01-26  6:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-25 21:08 PS1 is not implemented as specified in IEEE Std 1003.1-2017 Berthold Lorke
2022-01-26  6:57 ` Herbert Xu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YfDw2yS+Ct+BGJZ1@gondor.apana.org.au \
    --to=herbert@gondor.apana.org.au \
    --cc=berthold@lorke.de \
    --cc=dash@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).