for_recursive_glob(1tcl)


for_recursive_glob -- perform foreach loop over recursively matched files

Synopsis

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.
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004