Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-08-31
20:19 • Closed ticket [432842ffff]: glob command fails with leading digit plus 3 oth... artifact: f5409c6180 user: vincentdarley
19:58 • Ticket [432842ffff]: 4 changes artifact: 9c24940f5c user: sakajihara
2001-08-30
01:29 • Ticket [432842ffff]: 4 changes artifact: 28c6c30705 user: vincentdarley
01:23 • Ticket [432842ffff]: 4 changes artifact: 4c7592a0ff user: sakajihara
2001-08-29
21:51 • Ticket [432842ffff]: 4 changes artifact: f0201569f5 user: nobody
20:38 • Ticket [432842ffff]: 4 changes artifact: 901d802e18 user: sakajihara
2001-08-23
22:46 • Ticket [432842ffff]: 4 changes artifact: c70099a273 user: vincentdarley
05:52 • Ticket [432842ffff]: 5 changes artifact: b7571b28eb user: andreas_kupries
2001-07-08
03:50 • Ticket [432842ffff]: 1 change artifact: 3b3397cbb6 user: dkf
2001-06-13
17:47 • New ticket [432842ffff]. artifact: e6daff59bf user: sakajihara

glob command fails with leading digit

Closed / Invalid432842ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-06-13 17:47:23
The glob command on Redhat Linux 2.4.2 systems fails to
find files with leading digits. Please see the
following example

% exec ls
6H-SiC_001-Ni_A.gm
rftp
% glob *
rftp
%
dkf Ticket [432842ffff]: 1 change [History diff]2001-07-08 03:50:02
andreas_kupriesplain2001-08-23 05:52:23
Logged In: YES 
user_id=75003

Has this changed with the new VFS code ?
vincentdarleyplain2001-08-23 22:46:33
Logged In: YES 
user_id=32170

I echo Andreas's question, and would also like to ask 
whether the '6H...' file in question is an ordinary file or 
a link/socket or something else?
sakajiharaplain2001-08-29 20:38:18
Logged In: YES 
user_id=244254

I am not sure which version has the new VFS code. I have
only installed Tcl 8.3.3 at
this point as this was the released version.

The file in question is an ordinary file. In fact, testing a
link which does not begin with
a digit does not exhibit this problem; it would appear that
the problem is with the file
name as opposed to the file type.

I have installed Tcl 8.3.3 on SGI IRIX, IBM AIX, Compaq
Alpha Tru64, Sun SunOS,
and Linux RedHat  platforms. Only the Linux platform
exhibits this problem. This is
true of the system-distributed version as well as own build.
nobodyplain2001-08-29 21:51:29
Logged In: NO 

The new VFS code is in 8.4a3 or newer (i.e. best to just 
grab the cvs head).  It would be helpful if you could test 
with that, since the 'glob' code has undergone very large 
changes -- Vince.
sakajiharaplain2001-08-30 01:23:53
Logged In: YES 
user_id=244254

Have built Tcl 8.4.a3. Now the output looks like:

% ls
0aaa  something
% glob *
0aaa

So, it would appear that although the problem that reported
has been fixed, the opposite problem has been created.

     Scott Kajihara
vincentdarleyplain2001-08-30 01:29:42
Logged In: YES 
user_id=32170

What happens when you run Tcl's testsuite?  I must say this 
all looks rather odd.  I ran the Tcl 8.4a4 (i.e. latest 
cvs) testsuite on Redhat linux the other day with no 
filesystem problems at all...

Vince.
sakajiharaplain2001-08-31 19:58:41
Logged In: YES 
user_id=244254

Please close this. After looking more carefully at the test
error messages as well
as changing the filesystem in which working, found that the
problem was not due to
Tcl, but a problem on the NFS-mounted directories in which
doing the test. Sorry for
the problem report not related to Tcl.
vincentdarley Closed ticket [432842ffff]. [History diff]2001-08-31 20:19:00
Log in (anonymous is fine) to add a comment.