This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Directoryname completion started from '.' appends blank to directory name (GNU bash, version 2.05b.0(1), Cygwin 1.3.12, Win2000)

	Specifying the path to a program using dir-name completion
	from the working directory causes Bash to append a blank.

	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 (

"EDS... the recognized global leader in ensuring clients achieve superior
value in the Digital Economy."

Description: Binary data

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]