Directoryname completion started from '.' appends blank to direct ory name (GNU bash, version 2.05b.0(1), Cygwin 1.3.12, Win2000)
Jan Bruun Andersen, EDS Denmark AS
jan.q.bruun-andersen@posten.se
Fri Jul 19 15:11:00 GMT 2002
Description:
Specifying the path to a program using dir-name completion
from the working directory causes Bash to append a blank.
Repeat-By:
Administrator@DKCNW1700049 ~
$ mkdir somedir<ENTER>
Administrator@DKCNW1700049 ~
$ ./so<TAB>
$ ./somedir <ENTER> <== Expands to "./somedir ".
bash: ./somedir: is a directory
Administrator@DKCNW1700049 ~
$ /bi<TAB>
$ /bin/ <== Correct: "/" is added.
This is with "GNU bash, version 2.05b.0(1)-release (i686-pc-cygwin)" in
vi-mode. Installing "GNU bash, version 2.05a.0(3)-release (i686-pc-cygwin)"
fixes the problem.
Here is the output from bashbug and cygcheck:
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: cygwin
Compiler: i686-pc-cygwin-gcc
Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='i686-pc-cygwin' -DCONF_VENDOR='pc'
-DSHELL -DHAVE_CONFIG_H -I. -../bash-2.05b -I../bash-2.05b/include
-I../bash-2.05b/lib -g -O2
uname output: CYGWIN_NT-5.0 DKCNW1700049 1.3.12(0.54/3/2) 2002-07-06 02:16
i686 unknown
Machine Type: i686-pc-cygwin
Bash Version: 2.05b
Patch Level: 0
Release Status: release
--
Jan Bruun Andersen
Information Specialist, B.Sc.
Solution Centre Denmark
Office phone: +45 3385 8041 Mobile: +45 5159 7041
EDS Sverige AB, Solna Strandväg 96, SE-171 85 Solna (http://www.eds.se/)
"EDS... the recognized global leader in ensuring clients achieve superior
value in the Digital Economy."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.zip
Type: application/octet-stream
Size: 4197 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020719/87081ff2/attachment.obj>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list