[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bash Manual inconsistency regarding PS* in which expansions apply
From: |
Chet Ramey |
Subject: |
Re: Bash Manual inconsistency regarding PS* in which expansions apply |
Date: |
Mon, 13 Mar 2017 11:48:45 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 3/12/17 5:14 PM, Grisha Levit wrote:
> The manual says [1]:
>
> In addition, the following table describes the special characters which
> can
> appear in the prompt variables PS1 to PS4:
>
> ..which misses PS0 (and seems to imply that PS3 gets expanded in this
> fashion as well).
>
> [1]
> https://www.gnu.org/software/bash/manual/bash.html#Controlling-the-Prompt
Thanks for the report. The man page is clearer that PS0, PS1, PS2, and
PS4 undergo prompt string expansions. I'll see what the info document
needs.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/