bug-bash
[Top][All Lists]
Advanced

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

Re: $PIPESTATUS is not updated by single external commands


From: Paul Jarc
Subject: Re: $PIPESTATUS is not updated by single external commands
Date: Sun, 17 Mar 2002 15:57:16 -0500
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/20.7 (i386-redhat-linux-gnu)

Andreas Schwab <address@hidden> wrote:
> address@hidden (Paul Jarc) writes:
> |> bash-2.05a$ PS1='$(echo "address@hidden") $ '
>
> Useless Use of Command Substitution:
>
> PS1='address@hidden $ '

If only it were.  With your PS1 setting, the problem disappears for me
as well.  So apparently the problem is somehow triggered by command
substitution.  The PS1 setting I normally use makes use of PIPESTATUS
and non-useless use of command substitution, so I can't avoid the
problem that easliy.

> I cannot reproduce that with the same version on ia64-suse-linux.

What if you use the command-substitution PS1 setting?


paul



reply via email to

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