for_recursive_glob(TCL)


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.
02 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005