On Thu 14 Jul 2005 00:09, "Sam Smith" <firstname.lastname@example.org> writes:
> I can't find a standard version of the ftw thingie in ksh.
> I did find some snippets of code to process a directory tree, using
> (run/strings* (find ...))
> But I don't know if this guarantees the processing of all files,
> directories, symlinks, etc ..., even with spaces, quotes, weird euro
> or Asian characters, and so forth.
Sunterlib contains the dir-streams package, which offers functions
for representing directories as streams of file objects and traversing
them in terms of FOLD, MAP, and FOR-EACH operations. That might be
what you are looking for.
"Excuse me --- Di Du Du Duuuuh Di Dii --- Huh Weeeheeee" (Albert King)