DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

for_recursive_glob(TCL)


for_recursive_glob -- perform foreach loop over recursively matched files

Syntax

for_recursive_glob var dirlist globlist code

Description

This procedure performs a foreach-style loop over recursively matched files. All directories in dirlist are recursively searched (breadth-first), comparing each file found against the file glob patterns in globlist. For each matched file, the variable var is set to the file path and code is evaluated. Symbolic links are not followed.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003