bug-bash
[Top][All Lists]
Advanced

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

Bugs in "GNU bash, version 2.05b.0(1)-release (i686-pc-linux-gnu)"


From: Emilio Lazo Zaia
Subject: Bugs in "GNU bash, version 2.05b.0(1)-release (i686-pc-linux-gnu)"
Date: Sun, 22 Dec 2002 17:34:44 -0400 (VET)

Hi people at address@hidden

I'm writing to you because I've found two possible bugs.

Output of "bash --version": GNU bash, version 2.05b.0(1)-release 
(i686-pc-linux-gnu)
Output of "uname -a": Linux magin 2.4.20 #3 Fri Dec 20 23:12:34 VET 2002 
i686 athlon i386 GNU/Linux

(This is a 900MHz Athlon running RedHat 8.0)

The first one consists in a wrong behavior of a subshell in a shell script 
while using 'errexit' shell option and logic operators like '&&' and '||'. 
The script is included.

The second thing that seems to be a bug is that if I set a PS1 variable 
with ANSI codes, like: 

"\e[1;34m\$ \e[0;address@hidden [\j] \e[1;34m\w> \e[0;37m"

the line wraps before the 'real' number of columns it have, i.e. seems 
that BASH counts the 'number' of characters in 'PS1' variable regardless 
that some of them can be 'control codes'.


SORRY but my written english is very bad!!

Regards,

PS: Can you reply this mail notifying me if these are really undesired 
behaviors of bash? thanks!

-- 
<--->

Emilio Lazo Zaia

Facultad de Ciencias
Universidad Central de Venezuela

Emails: address@hidden
        address@hidden

Attachment: bash-2.05b.0(1)-bug.sh
Description: Bourne shell script


reply via email to

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