cc: [email protected] Subject: Re: [uwin-users] Re: directory recursion in win32 api --------
> I know that this might not be your forte or that of Mr Ritchie or Mr > Kernighan, that said you are masters of C. I was wondering what you would > reccommend for doing recursion within subdirectories? I think that I've > got it down, but it never hurts to ask those more experienced than myself. > > A hint from the masters at AT&T who invented this stuff in the first place > would be really cool. Recursion might not be the best way to do it, it'd > like to process files first then directories, so it might have to be two > pass. > > Thanks for reading my question. I'm not asking for code, I can write that, > I'm just asking, with your experience what's the best way? > > Patrick > > At the C language level, I would recommend that you use the AST fts() library for doing recursing within subdirectories. At the shell level, I would recommend the AST tw command rather than find because it is simpler, has more functionality, and has xargs equivalent built into it. David Korn [email protected] _______________________________________________ uwin-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/uwin-users
