Debian bug report logs - #1757, boring messages


Message sent to debian-devel@pixar.com:


Subject: Bug#1757: Bash doesn't quote correctly
Reply-To: david@elo.ods.com (David Engel), debian-bugs@pixar.com
Resent-From: david@elo.ods.com (David Engel)
Resent-To: debian-devel@pixar.com
Resent-Date: Tue, 24 Oct 1995 20:03:01 GMT
Resent-Message-ID: <debian-bugs-handler.1757.B10241955240@pixar.com>
Resent-Sender: iwj10@cus.cam.ac.uk
X-Debian-PR-Package: bash
X-Debian-PR-Keywords: 
Received: via spool for debian-bugs; Tue, 24 Oct 1995 20:03:01 GMT
Received: with rfc822 via encapsulated-mail; Tue, 24 Oct 1995 19:55:21 GMT
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t7p6h-000BFSC; Tue, 24 Oct 95 12:33 PDT
Received: from elo.ods.com ([192.94.73.20]) by pixar.com with SMTP id AA21315
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Tue, 24 Oct 1995 12:32:56 -0700
Received: by elo.ods.com
	id <m0t7p5u-000LqeC@elo.ods.com>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Tue, 24 Oct 95 14:33 CDT
Message-Id: <m0t7p5u-000LqeC@elo.ods.com>
From: david@elo.ods.com (David Engel)
To: debian-bugs@pixar.com
Date: Tue, 24 Oct 1995 14:33:06 -0500 (CDT)
X-Mailer: ELM [version 2.4 PL24 PGP2]
Content-Type: text
Content-Length: 928

Package: bash
Version: 1.14.4-5

Bash doesn't quote correctly in some cases.  Here is a test case which
exhibits the problem:

---start of showbug---
#!/bin/sh
./printargc $0 ${1+"$@"}
---end of showbug---

---start of printargc---
#!/bin/sh
echo 'argc =' $#
---end of printargc---

Running "showbug '1 2'" should result in "argc = 2", but instead results
in "argc = 3".

This bug is fixed in bash-1.14.5.  From the NEWS file:

This file documents the bugs fixed between this release, bash-1.14.5,
and the last public bash release, 1.14.4.
1.  Bugs fixed in Bash
...
d.  Fixes to the expansion code so that double quotes on the rhs of
    ${variableOPword} are handled better.

This fix is badly needed by some scripts which I run routinely.

David
---
David Engel                        Optical Data Systems, Inc.
david@ods.com                      1101 E. Arapaho Road
(214) 234-6400                     Richardson, TX  75081


Message sent:


From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: david@elo.ods.com (David Engel)
Subject: Bug#1757: Acknowledgement (was: Bash doesn't quote correctly)
In-Reply-To: <m0t7p5u-000LqeC@elo.ods.com>
References: <m0t7p5u-000LqeC@elo.ods.com>

Thank you for the problem report you have sent regarding Debian GNU/Linux.
This is an automatically generated reply, to let you know your message has
been received.  It is being forwarded to the developers' mailing list for
their attention; they will reply in due course.

If you wish to submit further information on your problem, please send
it to debian-bugs@pixar.com, but please ensure that the Subject
line of your message starts with "Bug#1757" or "Re: Bug#1757" so that
we can identify it as relating to the same problem.

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.

Ian Jackson
(maintainer, debian-bugs)


Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov