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: Andreas Schwab
Subject: Re: $PIPESTATUS is not updated by single external commands
Date: Sun, 17 Mar 2002 23:14:16 +0100
User-agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux)

address@hidden (Paul Jarc) writes:

|> 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?

I did, and I could not reproduce it either.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 N├╝rnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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