[gnu.bash.bug] Filename completion bug in bash-1.02

kayvan@mrspoc.transact.com (Kayvan Sylvan) (09/08/89)

I gave a bug report about this earlier...

The XenixNet nomenclature for remote filesystems is: //hostname/foobar/baz
which identifies /foobar/baz on host hostname. 

bash$ cd
bash$ dirs
~ 
bash$ echo *
#%*mail*# News bin etc mail src uucp
bash$ cd //guinan
bash$ dirs
//guinan
bash$ echo *
*			<--- Huh???
bash$ sh
$ pwd
//guinan/
$ echo *
bin boot boot.old db dev dos etc lib lost+found mnt once shlib tmp u u2 u3 users usr wmgr.rc xenix
$ 

Anybody got any ideas???

			---Kayvan

Kayvan Sylvan @ Transact Software, Inc. -*-  Los Altos, CA (415) 961-6112
Internet: kayvan@Transact.COM -*- UUCP: ...!{apple,pyramid,mips}!mrspoc!kayvan

bfox@AUREL.CALTECH.EDU (Brian Fox) (09/08/89)

   Date: Thu, 7 Sep 89 20:41 PDT
   From: Kayvan Sylvan <kayvan@mrspoc.transact.com>

   I gave a bug report about this earlier...

   The XenixNet nomenclature for remote filesystems is: //hostname/foobar/baz
   which identifies /foobar/baz on host hostname. 

   bash$ cd
   bash$ dirs
   ~ 
   bash$ echo *
   #%*mail*# News bin etc mail src uucp
   bash$ cd //guinan
   bash$ dirs
   //guinan
   bash$ echo *
   *			<--- Huh???
   bash$ sh
   $ pwd
   //guinan/
   $ echo *
   bin boot boot.old db dev dos etc lib lost+found mnt once shlib tmp u u2 u3 users usr wmgr.rc xenix
   $ 

   Anybody got any ideas???

I don't have a Xenix machine to check this out on, but I heard that you
have to specify two libraries when compiling Bash, AND WHEN COMPILING
READLINE.  The libraries will link in any order, but will only work
correctly when linked in the right order.  The libraries are:

# Xenix requires -ldir -lx.  It is also required in the readline Makefile.
LOCAL_LIBS = -ldir -lx

Brian Fox