[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: |
Uwe H. Steinfeld |
Subject: |
Re: Behavior Change between 2.04 and 2.05 for empty PS2 |
Date: |
Wed, 30 May 2001 19:55:46 +0200 |
I can reproduce it on two systems
GNU bash, version 2.05.0(1)-release (i686-pc-linux-gnu) [SuSE
7.1]
Copyright 2000 Free Software Foundation, Inc.
GNU bash, version 2.05.0(1)-release (i586-pc-cygwin)
Copyright 2000 Free Software Foundation, Inc.
Both built from ftp.gnu.org sources with "official" patches 1-4 applied.
Uwe
----- Original Message -----
From: "Chet Ramey" <chet@nike.ins.cwru.edu>
To: <schwarzb@imsdd.fhg.de>
Cc: <bug-bash@gnu.org>; <chet@po.cwru.edu>
Sent: Wednesday, May 30, 2001 3:11 PM
Subject: Re: Behavior Change between 2.04 and 2.05 for empty PS2
> > 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:
>
> thor.ins.cwru.edu(2)$ ./bash --version
> GNU bash, version 2.05.0(1)-release (sparc-sun-solaris2.7)
> Copyright 2000 Free Software Foundation, Inc.
> thor.ins.cwru.edu(2)$ uname -a
> SunOS thor.ins.cwru.edu 5.7 Generic_106541-12 sun4m sparc
SUNW,SPARCstation-20
> thor.ins.cwru.edu(2)$ PS1='PS1$ '
> PS1$ PS2=''
> PS1$ echo 'abc
> def'
> abc
> def
>