| Ticket UUID: | 1409083 | |||
| Title: | fileutil::find documentation improvement | |||
| Type: | Bug | Version: | None | |
| Submitter: | glennjnn | Created on: | 2006-01-18 14:39:39 | |
| Subsystem: | fileutil | Assigned To: | andreas_kupries | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2006-01-19 00:56:50 | |
| Resolution: | Fixed | Closed By: | andreas_kupries | |
| Closed on: | 2006-01-18 17:56:50 | |||
| Description: |
1. typo: "loose" -> "lose"
2. The man page does not indicate that the filtercmd
should return a boolean value. An example would be
warranted. Suggested text to be appended to what
currently exists:
=====
The result of [arg filtercmd] is a boolean value that
indicates if the current file should be included in the
list of interesting files. Example:
# find tcl files
package require fileutil
proc is_tcl {name} {return [string match *.tcl $name]}
set tcl_files [fileutil::find . is_tcl]
=====
| |||
| User Comments: |
andreas_kupries added on 2006-01-19 00:56:50:
Logged In: YES user_id=75003 Accepted and put into CVS head. | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki