[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Behavior Change between 2.04 and 2.05 for empty PS2
From: |
Alessandro Russo |
Subject: |
Re: Behavior Change between 2.04 and 2.05 for empty PS2 |
Date: |
Fri, 01 Jun 2001 11:46:47 +0200 |
Chet Ramey wrote:
>
> > uname output: SunOS sund32 5.7 Generic_106541-07 sun4u sparc SUNW,Ultra-5_10
> > Machine Type: sparc-sun-solaris2.7
> >
> > Bash Version: 2.05
> > Patch Level: 0
> > Release Status: release
> >
> > Description:
> > In bash 2.05 PS1 is displayed in cases where PS2 is to
> > be displayed when PS2 is set to an empty string.
> >
> > Repeat-By:
> >
> > execute interactively (<RETURN> is a return-keypress):
> >
> > PS2=''
> > echo 'abc<RETURN>def'
> >
> > As soon as the <RETURN> key is hit bash displays PS1
> > instead of nothing, as it was with older bash versions.
>
> I can't reproduce it:
>
I have been able to reproduce it:
russo@dragon:~>bash --version
GNU bash, version 2.05.0(1)-release (sparc-sun-solaris2.7)
Copyright 2000 Free Software Foundation, Inc.
russo@dragon:~>uname -a
SunOS dragon 5.7 Generic_106541-07 sun4u sparc SUNW,Ultra-Enterprise
russo@dragon:~>PS1='PS1$ '
PS1$ PS2=''
PS1$ echo 'abc <----------------here I hit return
PS1$ def'
abc
def
PS1$
--
Alessandro Russo
----------------
Istituto di Analisi Numerica - CNR
via Ferrata, 1
I-27100 Pavia (ITALY)
e-mail: russo@ian.pv.cnr.it
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Behavior Change between 2.04 and 2.05 for empty PS2,
Alessandro Russo <=