[the result of $[23**15] is wrong]

2022-07-11 Thread root
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu' 
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib  -D_GNU_SOURCE -DRECYCLES_PIDS 
-DDEFAULT_PATH_VALUE='/usr/local/bin:/usr/bin'  -DSYSLOG_HISTORY -O2 -g -pipe 
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS 
-fexceptions -fstack-protector-strong -grecord-gcc-switches 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection 
-Wno-parentheses -Wno-format-security
uname output: Linux ROCKY8-5-WL 4.18.0-348.el8.0.2.x86_64 #1 SMP Sun Nov 14 
00:51:12 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-redhat-linux-gnu

Bash Version: 4.4
Patch Level: 20
Release Status: release

Description:
[Detailed description of the problem, suggestion, or complaint.]
in bash the result of $[23**15] is wrong
for example output
[root@ROCKY8-5-02 ~]#echo $[23**15]
8380818432457522983
[root@ROCKY8-5-02 ~]#echo "23^15" | bc
266635235464391245607
[root@ROCKY8-5-02 ~]#
Repeat-By:
[Describe the sequence of events that causes the problem
to occur.]

Fix:
[Description of how to fix the problem.  If you don't know a
fix for the problem, don't include this section.]



[the result of $[23**15] is wrong]

2022-07-11 Thread root
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu' 
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib  -D_GNU_SOURCE -DRECYCLES_PIDS 
-DDEFAULT_PATH_VALUE='/usr/local/bin:/usr/bin'  -DSYSLOG_HISTORY -O2 -g -pipe 
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS 
-fexceptions -fstack-protector-strong -grecord-gcc-switches 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection 
-Wno-parentheses -Wno-format-security
uname output: Linux ROCKY8-5-WL 4.18.0-348.el8.0.2.x86_64 #1 SMP Sun Nov 14 
00:51:12 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-redhat-linux-gnu

Bash Version: 4.4
Patch Level: 20
Release Status: release

Description:
[Detailed description of the problem, suggestion, or complaint.]
in bash the result of $[23**15] is wrong
for example output
[root@ROCKY8-5-02 ~]#echo $[23**15]
8380818432457522983
[root@ROCKY8-5-02 ~]#echo "23^15" | bc
266635235464391245607
[root@ROCKY8-5-02 ~]#
Repeat-By:
[Describe the sequence of events that causes the problem
to occur.]

Fix:
[Description of how to fix the problem.  If you don't know a
fix for the problem, don't include this section.]



bash bug - unexpect file deleted using rm command

2019-05-28 Thread root
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu' 
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib  -D_GNU_SOURCE -DRECYCLES_PIDS  
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -fwrapv
uname output: Linux minigeek.srve.com 2.6.32-754.10.1.el6.x86_64 #1 SMP Tue Jan 
15 17:07:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-redhat-linux-gnu

Bash Version: 4.1
Patch Level: 2
Release Status: release

Description:
I deleted the file .DS_Store fom a fat32 partition as root.  bash 
properly warned me and I answered y which deleted that file.
A second different file, named ._.DS_Store was also erased - but 
without warning, and I did not ask for this.  
Therein lies the bug.
I recreated two text files with different contents having those same 
names, and repeated the steps - same problem - both files got erased with the 
one rm command for just one of them.

Repeat-By:
Create those 2 files. Delete just one.

Fix:
probably some shell filename matching code has an error?





why i can't access SU mode !!

2018-05-12 Thread root
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I../. -I.././include -I.././lib  -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall
uname output: Linux wael-MS-7592 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 
11:48:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 4.3
Patch Level: 48
Release Status: release

Description:
[Detailed description of the problem, suggestion, or complaint.]

Repeat-By:
[Describe the sequence of events that causes the problem
to occur.]

Fix:
[Description of how to fix the problem.  If you don't know a
fix for the problem, don't include this section.]



[no subject]

2017-11-07 Thread root
ubject: [50 character or so descriptive subject here (for reference)]

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu' 
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib   -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
--param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic
uname output: Linux nhcentos 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 
UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-redhat-linux-gnu

Bash Version: 4.2
Patch Level: 46
Release Status: release

Description:
[Detailed description of the problem, suggestion, or complaint.]

Repeat-By:
[Describe the sequence of events that causes the problem
to occur.]

Fix:
[Description of how to fix the problem.  If you don't know a
fix for the problem, don't include this section.]



Feature request

2015-05-14 Thread root
Dear Bash developers,
In effort to create better commented code, I have run across the following 
missing bit of functionality:
No block comments
Which prevents such useful constructs as:
echofoo #! useful comment 1 !# \
$(somefunction) #! Another comment !# \
bar # standard line comment can go here

yum install \
package1 #! why it is being installed !# \
package2 #! why this one is needed !# \
...
packageN # Reason for final package

Thank you for your time and consideration
-Jeremiah



Special .rc file fails with message bash: `rsync-nssh': not a valid identifier

2012-08-29 Thread root

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' 
-DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/lsd/Linux/share/locale' 
-DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib   -g -O2
uname output: Linux joker.sleazegate.com 3.4.9-1.fc16.x86_64 #1 SMP Wed Aug 15 
20:45:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-unknown-linux-gnu

Bash Version: 4.2
Patch Level: 37
Release Status: release

Description:
I have been using this special .rc file for several years. It grows and 
grows. The Fedora Core bash (bash-4.2.28-1.fc16.x86_64)
does not produce this error.

Repeat-By:
After invoking this newly compiled bash, I enter . /.grgrc (a link to 
/root/.grgrc). The message is produced. If you want
more information, I would be most happy to do whatever is required.




Space or multiple spaces before command causes it to not get logged

2012-05-25 Thread root
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I../bash -I../bash/include -I../bash/lib  
-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Wformat-security -Werror=format-security -Wall
uname output: Linux gouch.ihate.ms 3.2.0-24-virtual #38-Ubuntu SMP Tue May 1 
16:38:34 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 4.2
Patch Level: 24
Release Status: release

Description:

Putting a space or multiple spaces before a command and executing it causes the 
command to not get logged to bash history file.


Repeat-By:

user@server:~$ pwd
/root
user@server:~$ history
1  pwd
2  history
user@server:~$  ls  -- Note the space before the command
user@server:~$ date
Fri May 25 02:59:43 UTC 2012
user@server:~$ history
1  pwd
2  history
3  date
4  history



Mixing exec redirection with explicit redirection, unexpected results

2009-12-08 Thread root
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-redhat-linux-gnu' 
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H -DRECYCLES_PIDS   -I.  -I. -I./include -I./lib  -D_GNU_SOURCE 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables
uname output: Linux enterprise.herffjones.hj-int 2.6.18-128.el5 #1 SMP Wed Dec 
17 11:42:39 EST 2008 i686 i686 i386 GNU/Linux
Machine Type: i686-redhat-linux-gnu

Bash Version: 3.2
Patch Level: 25
Release Status: release

Description:
When I use the 'exec' built-in to redirect standard output 
for a script, and then also use explicit redirection on 
other commands, pointing both to the same output file, 
I get unpredictable (but repeatable) results with the output 
out of order.

Repeat-By:
The following script:

#!/bin/bash

/tmp/foo
exec 1/tmp/foo

echo a
echo B /tmp/foo
echo c
echo D /tmp/foo
echo e
echo F /tmp/foo

...should produce the following contents in /tmp/foo:
a
B
c
D
e
F

...but instead it produces:
a
c
e
F



Fix:
I am at a loss for how to understand this behavior -- sorry, 
I can't suggest a fix. :-(




Use of pipe in $( filename | program) returns null

2009-11-27 Thread root
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' 
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib  -D_GNU_SOURCE 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables
uname output: Linux saturn.syslang.net 2.6.27.30-170.2.82.fc10.i686.PAE #1 SMP 
Mon Aug 17 08:24:23 EDT 2009 i686 athlon i386 GNU/Linux
Machine Type: i386-redhat-linux-gnu

Bash Version: 3.2
Patch Level: 39
Release Status: release

Description:
use of $( filename | program) does not work. It either should or it 
should be properly documented.
The problem also happens on bash4.

Repeat-By:

qq=$( /etc/passwd | grep sys)
echo $qq
# result is null

Fix:
Either fix the docs to tell people that a pipe is not allowed or fix 
the code to allow it.




bash does not run startup files

2009-03-11 Thread root
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu - Red Hat Enterprise Linux Client release 5.3 (Tikanga)
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib   -g -O2
uname output: Linux ghostwheel.llnl.gov 2.6.28.7 #1 SMP PREEMPT Mon Feb 23 
11:37:50 PST 2009 i686 i686 i386 GNU/Linux
Machine Type: i686-pc-linux-gnu

Bash Version: 4.0
Patch Level: 10
Release Status: release

Description:
no matter how I invoke bash, it will not run any of the startup 
scripts: /etc/profile, ~/.bash_profile, ~/.bashrc - this is either being 
started by /bin/login or in an xterm session

Repeat-By:
login with /etc/passwd specifying /bin/bash as shell
exec /bin/bash --login --interactive
xterm
xterm -e /bin/bash -l -i





Regular experssions are not working in 3.2.39 as in 3.1.17

2008-10-14 Thread root
Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I../bash -I../bash/include -I../bash/lib   -g -O2 -Wall
uname output: Linux metairie 2.6.26.5-tce #65 SMP PREEMPT Fri Oct 3 11:20:48 
PDT 2008 i686 GNU/Linux
Machine Type: i486-pc-linux-gnu

Bash Version: 3.2
Patch Level: 39
Release Status: release

Description:
regular expression are broken in 3.2.39

version 3.1.17 (debian etch) 
=
[EMAIL PROTECTED]:~# echo $BASH_VERSION
3.1.17(1)-release
[EMAIL PROTECTED]:~#  ss=dsfds f dsf ESSID:bob
[EMAIL PROTECTED]:~# [[ $ss =~ 'ESSID:(.**)' ]]  echo $?
 0


version 3.1.29 (debian lenny )

[EMAIL PROTECTED]:/D/home/david$  echo $BASH_VERSION
3.2.39(1)-release
[EMAIL PROTECTED]:/D/home/david$ ss=dsfds f dsf ESSID:bob
[EMAIL PROTECTED]:/D/home/david$ [[ $ss =~ 'ESSID:(.**)' ]]  echo $?
[EMAIL PROTECTED]:/D/home/david$ echo $?
1
===
thanks



Repeat-By:
see above




unset strangely rejects certain function names eg fu~

2007-12-12 Thread root
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-redhat-linux-gnu' 
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib  -D_GNU_SOURCE 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables
uname output: Linux trixbox1.local 2.6.18-8.1.14.el5 #1 SMP Thu Sep 27 18:58:54 
EDT 2007 i686 i686 i386 GNU/Linux
Machine Type: i686-redhat-linux-gnu

Bash Version: 3.1
Patch Level: 17
Release Status: release

Description:
unset strangely rejects certain function names eg fu~

Repeat-By:
  $ function fun(){ echo running fun;}
  $ function fu~(){ echo running fu~;}
  $ fun
running fun
  $ fu~
running fu~
  $ unset fun
  $ unset fu~
bash: unset: `fu~': not a valid identifier




filename expansion with [a-z] matches upper case

2007-03-31 Thread root
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: i386-redhat-linux-gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' 
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib  -D_GNU_SOURCE 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables
uname output: Linux mail.samco.com 2.6.11-1.1369_FC4smp #1 SMP Thu Jun 2 
23:08:39 EDT 2005 i686 i686 i386 GNU/Linux
Machine Type: i386-redhat-linux-gnu

Bash Version: 3.0
Patch Level: 16
Release Status: release

Description:
The expansion of the filename pattern *.[a-z]* matches files with
upper case after the period, not just lower case, even though the 
nocaseglob is set to off, when the LANG variable is set to
en_US.UTF-8.

Repeat-By:
date test.abc
date test.ABC
ls *.[a-z]*
echo *.[a-z]*

Fix:
LANG=; export LANG



___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash


Reading bytes one-by-one from pipe of process substitution

2006-09-28 Thread root
Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I../bash -I../bash/include -I../bash/lib   -g -O2
uname output: Linux nuclear 2.6.15-1-686-smp #1 SMP Wed Jan 18 15:26:19 UTC 
2006 i686 GNU/Linux
Machine Type: i486-pc-linux-gnu

Bash Version: 3.1
Patch Level: 14
Release Status: release

Description:
When Process substitution is used, BASH
reads from such descriptor by one bytes!!

Repeat-By:
--
/tmp/test:
--begin--
#!/bin/bash
while read line; do
  qwe=qwe
done  ( cat /etc/passwd )
--end--
chmod +x /tmp/test
strace /tmp/test
--
You'll see that BASH read bytes from pipe one-by-one.
Another script will not trigger this problem:
#!/bin/bash
while read line; do
  qwe=qwe
done  /etc/passwd

--
Please answer me to email [EMAIL PROTECTED]
when this message will be read



___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash


Segmentation fault on AIX 5.1

2006-06-23 Thread Z the root
Configuration Information [Automatically generated, do not change]:
Machine: powerpc
OS: aix4.3.2.0
Compiler: cc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='powerpc' 
-DCONF_OSTYPE='aix4.3.2.0' -DCONF_MACHTYPE='powerpc-ibm-aix4.3.2.0' 
-DCONF_VENDOR='ibm' -DSHELL -DHAVE_CONFIG_H  -I/usr/local/include -I.  -I. 
-I./include -I./lib -I/usr/local/include -O -qmaxmem=8192
uname output: AIX aix 1 5 000641284C00
Machine Type: powerpc-ibm-aix4.3.2.0

Bash Version: 2.04
Patch Level: 0
Release Status: release

Description:
  hi,

  I try to build bash... it build without any problem but the exe dies with 
  segmentation fault.

  Any help would be appreciated...

Repeat-By:
start build exe 


Fix: I do not have a fix so far :(

Best regards, 

Zoltan Arpadffy


___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash


[:)))

2006-04-16 Thread root
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-redhat-linux-gnu' 
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib  -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -O2 -pipe -m32 -march=i386 -mtune=pentium4
uname output: Linux pandp.ro 2.6.9-34.106.unsupported #1 Sat Mar 18 15:44:15 
CST 2006 i686 i686 i386 GNU/Linux
Machine Type: i686-redhat-linux-gnu

Bash Version: 3.0
Patch Level: 15
Release Status: release

Description:
[Detailed description of the problem, suggestion, or complaint.]

Repeat-By:
[Describe the sequence of events that causes the problem
to occur.]

Fix:
[Description of how to fix the problem.  If you don't know a
fix for the problem, don't include this section.]


___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash


Augen auf

2005-05-16 Thread root
http://www.rocknord.de
http://www.aktivefrauenfraktion.tk
http://www.kopfmord.de
http://www.das-gibts-doch-nicht.de
http://www.zukunft-europa.info/index.html
http://www.geocities.com/scorpios2602/links.html
http://www.g-d-f.de
http://www.bewaeltigen.de
http://www.wk-institut.de
http://www.jungefreiheit.de
http://www.auslaendergewalt.ch
http://www.pro-koeln-online.de
http://www.leverkusener-aufbruch.com
http://www.buergerbewegungen.de/index.html
http://www.un-nachrichten.de
http://www.radio-freiheit.com


___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash


Double-quoting of commandline args (problem if $1 as a string of more than 1 char)

2005-04-02 Thread root wheel
Configuration Information [Automatically generated, do
not change]:
Machine: i586
OS: linux
Compiler: gcc -I/usr/src/packages/BUILD/bash-2.05b
-L/usr/src/packages/BUILD/bash-2.05b/../readline-4.3
Compilation CFLAGS:  -DPROGRAM='bash'
-DCONF_HOSTTYPE='i586' -DCONF_OSTYPE='linux'
-DCONF_MACHTYPE='i586-suse-linux' -DCONF_VENDOR='suse'
-DSHELL -DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib 
-O2 -march=i586 -mcpu=i686 -fmessage-length=0
-D_GNU_SOURCE -Wall -pipe -g -fbranch-probabilities
uname output: Linux laptop 2.4.21-99-athlon #1 Wed Sep
24 13:34:32 UTC 2003 i686 athlon i386 GNU/Linux
Machine Type: i586-suse-linux

Bash Version: 2.05b
Patch Level: 0
Release Status: release

Description:
[Detailed description of the problem,
suggestion, or complaint.]


Double-quoting of commandline args seems to be broken
for $10 and above
if $1 is a double-quoted string of more than one
character.
Repeat-By:
[Describe the sequence of events that causes
the problem
to occur.]


[EMAIL PROTECTED] cat foo
#!/bin/sh
if [ $# -lt 12 ]
then
echo need at least 12 args
exit
else
echo $1
echo $2
echo $3
echo $4
echo $5
echo $6
echo $7
echo $8
echo $9
echo $10
echo $11
echo $12
fi
[EMAIL PROTECTED] ./foo 1 2 3 4 5 6 7 8 9 10 11 12
1
2
3
4
5
6
7
8
9
10
11
12
[EMAIL PROTECTED] ./foo 1 2 2 2 3 4 5 6 7 8 8 8 9
10 11 12
1
2 2 2
3
4
5
6
7
8 8 8
9
10
11
12
[EMAIL PROTECTED] ./foo 1 1 2 2 2 3 4 5 6 7 8 8 8
9 10 11 12
1 1
2 2 2
3
4
5
6
7
8 8 8
9
1 10
1 11
1 12
[EMAIL PROTECTED]
oops.
Also broken on later version of bash:
[EMAIL PROTECTED]:~ bash --version
GNU bash, version 3.00.0(1)-release (i586-suse-linux)
Copyright (C) 2004 Free Software Foundation, Inc.

[EMAIL PROTECTED]:~ ./foo 1 1 2 3 4 4 4 5 6 7 8 9 10
11 12
1 1
2
3
4 4 4
5
6
7
8
9
1 10
1 11
1 12
[EMAIL PROTECTED]:~

Configuration Information [Automatically generated, do
not change]:
Machine: i586
OS: linux
Compiler: gcc -I/usr/src/packages/BUILD/bash-3.0
-L/usr/src/packages/BUILD/bash-3.0/../readline-5.0
Compilation CFLAGS:  -DPROGRAM='bash'
-DCONF_HOSTTYPE='i586' -DCONF_OSTYPE='linux'
-DCONF_MACHTYPE='i586-suse-linux' -DCONF_VENDOR='suse'
-DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib 
 -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall
-D_GNU_SOURCE -Wall -pipe -g -fbranch-probabilities
uname output: Linux linux 2.6.8-24-default #1 Wed Oct
6 09:16:23 UTC 2004 i686 athlon i386 GNU/Linux
Machine Type: i586-suse-linux

Bash Version: 3.0
Patch Level: 0
Release Status: release







__ 
Yahoo! Messenger 
Show us what our next emoticon should look like. Join the fun. 
http://www.advision.webevents.yahoo.com/emoticontest


___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash