bug-bash
[Top][All Lists]
Advanced

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

Re: Version 2.05b.0(1) - file completion bug - new repro on knoppix


From: Tom Popovich
Subject: Re: Version 2.05b.0(1) - file completion bug - new repro on knoppix
Date: Mon, 10 May 2004 14:05:52 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

_____________________Q/A_________________________________________
 Have you tried those patches?
No. I have not tried rebuilding.  I'm using the excellent knoppix linux in a CD.
As it is I can not patch the official release.
I'll repro it w/ the latest bash by building the sources.  However I'm using the "Quantian Knoppix" 0.4.9.6
http://dirk.eddelbuettel.com/quantian.html
so I'll have to build it in a temp directory and test it.  The 496 "Quantian build uses Knoppix 3.3
as a base.


===>  I would not believe that the shell was doing something based on "gz" ending, but it seems
it is. 

So, I might have to change the rero. The exact filename I was using is pretty long and I
wanted to shorten it up ( hence I changed it to  IIIII).  I never thought that III might be
treated differently from xxx.tar.gz  but it is.

REPRO: Try the following:
_______________________[ machine knoppix linux running in a Konsole shell ] ________
# Launch konsole - and in that shell window do:

mkdir 33
cd 33
touch III.gz

gzip -d II[TAB]         ## this works
 # -vs-
gzip -d < II[TAB]      ## this fails
_______________________
The above is from:
GNU bash, version 2.05b.0(1)-release (i386-pc-linux-gnu)

Stranglely if you use a filename like " UUUU " (something without the .gz extension)  the bug does not show up.

_______________________ LS works ________________________________________
if I replace "gzip -d" with good old "ls"  it works.
_______________________________________________________________________




:: Lets now try a different machine -- running the older version of bash -- ::
______________________2nd repro on 2.05a___________________________________

I tried the above REPRO on a different machine[real linux vs knoppix], running the previous bash
release and was not able to Repo.

[on the second attempt I telnet-ed to a machine and ran the following from a "dumb" command
line window.]

bash-2.05a$ bash --version
bash --version
GNU bash, version 2.05a.0(1)-release (i686-pc-linux-gnu)
Copyright 2001 Free Software Foundation, Inc.
bash-2.05a$

I retried the steps I mentioned above
mkdir 33
cd 33
touch III.gz

gzip -d II[TAB]         ## this works
 # -vs-
gzip -d < II[TAB]      ## this now works on 2.05a



prj@po.cwru.edu wrote:
Tom Popovich <tompopovich@aol.com> wrote:
  
E.g REPRO with:  ( 1.  touch IIIII
   2. mkdir py
    3.  cd py
      4.  gzip -d < ../I[TAB]
)

does no name completion. we should get IIIII
    
It works for me; I built my bash with the official patches.  Have you
tried those?


paul
  

reply via email to

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