Debian Bug report logs -
#358831
bash operand errors
Reported by: syphir@syphir.sytes.net
Date: Fri, 24 Mar 2006 16:48:13 UTC
Severity: important
Found in version bash/3.1-4
Fixed in version bash/3.1-5
Done: Matthias Klose <doko@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#358831; Package bash.
(full text, mbox, link).
Acknowledgement sent to syphir@syphir.sytes.net:
New Bug report received and forwarded. Copy sent to Matthias Klose <doko@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: bash
Version: 3.1-4
Severity: important
I have been using these "any2vob" conversion scripts for quite some time to make
DVDs. After updating Sid, the bash scripts do not run anymore.
http://mightylegends.zapto.org/dvd/any2vob/any2vob-0.28.sh
The error is:
/usr/local/bin/any2vob-0.28.sh: line 257: "1": syntax error: operand expected
(error token is ""1"")
It appears that bash is not able to correctly handle the array functions for
some reason. I have tried other shells such as dash, but these also fail with
different errors (ie; let: not found). I believe this is a bash only script.
Did something major change?
Best Regards,
Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#358831; Package bash.
(full text, mbox, link).
Acknowledgement sent to syphir@syphir.sytes.net:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>.
(full text, mbox, link).
Message #10 received at 358831@bugs.debian.org (full text, mbox, reply):
Reverting back to bash 3.0 fixes the problem. It seems bash 3.1 has broken the
way the arrays are read.
Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#358831; Package bash.
(full text, mbox, link).
Acknowledgement sent to chet.ramey@case.edu:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>.
(full text, mbox, link).
Message #15 received at 358831@bugs.debian.org (full text, mbox, reply):
Matthias Klose wrote:
> C.Y.M writes:
>> Reverting back to bash 3.0 fixes the problem. It seems bash 3.1 has broken the
>> way the arrays are read.
Once again bitten by using a too-general function for consistency
across different expansions :-).
I will be releasing a patch for this.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live Strong. No day but today.
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#358831; Package bash.
(full text, mbox, link).
Acknowledgement sent to syphir@syphir.sytes.net:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>.
(full text, mbox, link).
Message #20 received at 358831@bugs.debian.org (full text, mbox, reply):
Chet Ramey wrote:
> Matthias Klose wrote:
>> C.Y.M writes:
>>> Reverting back to bash 3.0 fixes the problem. It seems bash 3.1 has broken the
>>> way the arrays are read.
>
> Once again bitten by using a too-general function for consistency
> across different expansions :-).
>
> I will be releasing a patch for this.
Excellent. Thank you for taking the time to look at this.
BR.
Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#358831; Package bash.
(full text, mbox, link).
Acknowledgement sent to syphir@syphir.sytes.net:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>.
(full text, mbox, link).
Message #25 received at 358831@bugs.debian.org (full text, mbox, reply):
C.Y.M wrote:
> Chet Ramey wrote:
>> Matthias Klose wrote:
>>> C.Y.M writes:
>>>> Reverting back to bash 3.0 fixes the problem. It seems bash 3.1 has broken the
>>>> way the arrays are read.
>> Once again bitten by using a too-general function for consistency
>> across different expansions :-).
>>
>> I will be releasing a patch for this.
>
>
> Excellent. Thank you for taking the time to look at this.
>
This problem is now fixed with bash31-017. Thank you.
BR.
Reply sent to Matthias Klose <doko@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to syphir@syphir.sytes.net:
Bug acknowledged by developer.
(full text, mbox, link).
Message #30 received at 358831-close@bugs.debian.org (full text, mbox, reply):
Source: bash
Source-Version: 3.1-5
We believe that the bug you reported is fixed in the latest version of
bash, which is due to be installed in the Debian FTP archive:
bash-builtins_3.1-5_i386.deb
to pool/main/b/bash/bash-builtins_3.1-5_i386.deb
bash-doc_3.1-5_all.deb
to pool/main/b/bash/bash-doc_3.1-5_all.deb
bash-minimal_3.1-5_i386.deb
to pool/main/b/bash/bash-minimal_3.1-5_i386.deb
bash-static_3.1-5_i386.deb
to pool/main/b/bash/bash-static_3.1-5_i386.deb
bash_3.1-5.diff.gz
to pool/main/b/bash/bash_3.1-5.diff.gz
bash_3.1-5.dsc
to pool/main/b/bash/bash_3.1-5.dsc
bash_3.1-5_i386.deb
to pool/main/b/bash/bash_3.1-5_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 358831@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated bash package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 5 Jul 2006 06:56:54 +0200
Source: bash
Binary: bashdb bash-builtins bash bash-minimal bash-static bash-doc
Architecture: source i386 all
Version: 3.1-5
Distribution: unstable
Urgency: low
Maintainer: Matthias Klose <doko@debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description:
bash - The GNU Bourne Again SHell
bash-builtins - Bash loadable builtins - headers & examples
bash-doc - Documentation and examples for the The GNU Bourne Again SHell
bash-minimal - The GNU Bourne Again SHell (minimal version)
bash-static - The GNU Bourne Again SHell (static version)
Closes: 320036 337097 342073 352145 354303 356218 357258 357607 358831 359021 360543 364509 367198 373904
Changes:
bash (3.1-5) unstable; urgency=low
.
* Work around the broken remove-shell, not checking for the existance
of /etc/shells (closes: #337097).
* Force rebuild of bashref.info (closes: #354303, #357258).
* Apply upstream patches 015, 016, 017, fixing
- a problem with the extended globbing code prevented dots from matching
filenames when used in some extended matching patterns.
- core dumps when attempting to perform globbing in directories with
very large numbers of files.
- Array expansion failure with an arithmetic syntax error when the
subscript appears within double quotes. Closes: #358831.
* Add copyrights for contributed files (Joost van Baal). Closes: #357607.
* bash_completion:
- Add apt-cache madison completion: Closes: #342073, #359021.
- Complete files with spaces for bzip2. Closes: #356218.
- Complete whatis and apropos like man. Closes: #352145.
- Ignore stderr in apt-cache completion. Closes: #367198.
- Add flv|FLV files completion for mplayer. Closes: #364509, #373904.
- Add dvi|DVI files completion for evince. Ubuntu #49880.
* Fix typos in man page. Closes: #360543.
.
[ Ian Jackson ]
* Make bash die if it cannot read its input file. Closes: #320036.
(This is not an ideal fix because, for example, the exit status is
still wrong - it should be 127, not 2. Also, the filename is not
printed. Unfortunately the code is badly tangled making this small
fix the most appropriate approach.)
Files:
e3c9899c9acab6c0b8b9a538e45d761e 719 base required bash_3.1-5.dsc
6e8a3c40fc4704f8ae915c1453762c88 226786 base required bash_3.1-5.diff.gz
9b1aae266df81ce546fa8347e2957516 733700 doc optional bash-doc_3.1-5_all.deb
142be4e317775242b4dd9b429de590cc 871802 shells required bash_3.1-5_i386.deb
a5ba3da7d84fe47623735cee25fe2795 99004 utils optional bash-builtins_3.1-5_i386.deb
9c9fbcb5b549d3f42a059c40f000d1e4 703644 shells optional bash-static_3.1-5_i386.deb
d6456abd0b593d8243b57e9588f78055 198414 shells optional bash-minimal_3.1-5_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFEq7vmStlRaw+TLJwRAkDcAKCatYdTu0cU+PyFDcD3XUl0W97AVACaA6O9
818IIxKWl4uqjWw9wWOHGnw=
=h7NV
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 25 Jun 2007 02:49:09 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Dec 6 06:26:20 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.