prj@po.cwru.edu (Paul Jarc) writes:
|> Andreas Schwab <schwab@suse.de> wrote:
|> > prj@po.cwru.edu (Paul Jarc) writes:
|> > |> bash-2.05a$ PS1='$(echo "${PIPESTATUS[@]}") $ '
|> >
|> > Useless Use of Command Substitution:
|> >
|> > PS1='${PIPESTATUS[@]} $ '
|>
|> 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, schwab@suse.de
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."