Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: aa769556f9e64505f324ed9b51049e520c59c39e
Ticket: 1880980fffffffffffffffffffffffffffffffff
Option to [glob] to ease recursive traversal
User & Date: evil_son on 2008-01-29 00:37:16
Changes

  1. icomment:
    Logged In: YES 
    user_id=1993540
    Originator: YES
    
    In response to sender "nobody",
    if -all were not to return "." and ".." then it would behave exactly like -walk.  My less specific (compared to yours) version of -all was aimed at generality while the more specific -walk (which you call -all) is the one I'd use more often .. like you and perhaps most users.
    
    Since the existing options are strong enough and we can easily wrap Tcl procedures around them, the motivation is really performance ... which raises the question is there a better interface that can provide superior performance.  I think there is but it may become too specific to directory traversal and will require more work; so I hesitated suggesting it.  I will put up another request in a couple of days describing it.
    
    Thanks for your comment
    
    
    
  2. login: "evil_son"
  3. mimetype: "text/plain"
  4. username: "evil_son"