glob difference between 8.3 and 8.4 
Author Message
 glob difference between 8.3 and 8.4

Where would I look to find a record of differences in glob from 8.3 to
8.4 (like a changelog or something).

The issue is 'glob -nocomplain *' under 8.3 (windows) includes the
showing of hidden files, whereas under 8.4 it doesn't. Not a big deal,
except we're using glob in an implementation of "find", then
recursing. In 8.3, this ends up going into the recycle bin and such
(as they are hidden files/directories).

How can I make 8.3's glob NOT show hidden files.. I didn't quite
understand if I could do it with the -types (ie, I couldn't see if i
could say NOT hidden).

Any help appreciated.

-Frank

TCL 8.4

% glob -nocomplain ./*
./Appligent ./clientsetup.ini ./conf_global.php ./cygwin ./dcms
{./Documents and Settings} ./Downloads ./Eclipse ./FrontOffice ./I386
./Inetpub ./Inprise ./JBuilder4 ./JBuilderX ./jdk1.3 ./mks ./MSSQL7
{./My Music} ./mysql ./NPM ./oracle ./osagent.lst ./PrcView {./Program
Files} ./RFP ./sybase ./Tcl ./temp ./tomcat ./tomcat4.1 ./tomcat5
./Tools ./visigenic ./wftool ./windows ./WINNT ./WUTemp ./YAMAHA
% exit

TCL 8.3

C:\>t:\tcl\tcl\bin\tclsh83.exe
% glob -nocomplain ./*
./Appligent ./BOOT.INI ./BOOTSECT.DOS ./clientsetup.ini
./conf_global.php ./cygwin ./dcms ./DELL.SDR {./Documents and
Settings} ./Downloads ./Eclipse ./FrontOffice ./GASP5.SYS ./I386
./Inetpub ./Inprise ./IO.SYS ./JBuilder4 ./JBuilderX ./jdk1.3 ./mks
./MSDOS.SYS ./MSOCache ./MSSQL7 {./My Music} ./mysql ./NPM
./NTDETECT.COM ./NTLDR ./oracle ./osagent.lst ./pagefile.sys ./PrcView
{./Program Files} ./Recycled ./RECYCLER ./RFP ./sybase {./System
Volume Information} ./Tcl ./temp ./tomcat ./tomcat4.1
./tomcat5 ./Tools ./visigenic ./wftool ./windows ./WINNT ./WUTemp
./YAMAHA ./_NavCClt.Log



Mon, 03 Jul 2006 00:32:02 GMT  
 glob difference between 8.3 and 8.4

Quote:

> Where would I look to find a record of differences in glob from 8.3 to
> 8.4 (like a changelog or something).

Look at the change log on tcl.sf.net for the file that implements on Windows.

--
+--------------------------------+---------------------------------------+
| Gerald W. Lester               | "The man who fights for his ideals is |

+--------------------------------+---------------------------------------+



Mon, 03 Jul 2006 12:49:53 GMT  
 glob difference between 8.3 and 8.4

Quote:
> Where would I look to find a record of differences in glob from 8.3
to
> 8.4 (like a changelog or something).

> The issue is 'glob -nocomplain *' under 8.3 (windows) includes the
> showing of hidden files, whereas under 8.4 it doesn't. Not a big
deal,
> except we're using glob in an implementation of "find", then
> recursing. In 8.3, this ends up going into the recycle bin and such
> (as they are hidden files/directories).

Tcl source comes with a comprehensive ChangeLog file.  But even
better, you can check out http://sourceforge.net/projects/tcl/ ,
browse to CVS, and compare versions of files easily.

But you really just want to find out about glob.  The "-types" switch
allows you to select hidden files.  You can check this list of hidden
files before recursing into the subdirectory.

  % glob -types hidden *
  BOOT.INI BOOTSECT.DOS DELL.SDR hiberfil.sys IO.SYS
  MSDOS.SYS NTDETECT.COM NTLDR pagefile.sys RECYCLER
  {System Volume Information} _NavCClt.Log

Bob
--

Mayo Foundation                                 (507) 538-5495
200 First St. SW                            FAX (507) 284-9171
Rochester MN, 55901  USA            http://www.mayo.edu/sppdg/



Mon, 03 Jul 2006 23:15:35 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. trace incompatibility in 8.4 and 8.3 ?

2. problem about tcl 8.3 and 8.4

3. Q: speed open call Tcl 8.3 vs 8.4

4. Tk 8.3 -> 8.4, surprisingly slow text widget

5. Tcl 8.4 more DOSsy than 8.3 ?

6. Stubs with Tcl 8.3 vs Tcl 8.4

7. CONST Tcl 8.3 vs Tcl 8.4

8. cross-version voodoo: handling 8.3 / 8.4 private structure changes

9. 8.4 vs 8.3

10. open pipe difference between 8.0 and 8.3

11. Difference in 8.4/8.5 text widget - Bug or Feature

12. Difference in exec argument passing at Tcl/Tk 8.4

 

 
Powered by phpBB® Forum Software