help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] Why `` in PS4='``' is reduced to empty string?


From: Pierre Gaston
Subject: Re: [Help-bash] Why `` in PS4='``' is reduced to empty string?
Date: Sun, 10 Dec 2017 08:14:40 +0200

On Sun, Dec 10, 2017 at 4:56 AM, Peng Yu <address@hidden> wrote:

> Hi,
>
> It seems that PS4 is interpreted. But this seems not documented.
>

It is documented, it says it is expanded like PS1 and then under PROMPTING
it says it undergoes command substitution.

>
> Also, is it better to perserve PS4 literally without any inpretation?
>

Using variables, eg LINENO or running commands, eg to display the date, can
be useful,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]