On Wed, 2004-03-17 at 06:52, [EMAIL PROTECTED] wrote: > > A better way to zero out a file is by using '>' notation which will not > > destroy any file descriptors attached to the file aside from being > > extremely easy and short. > > > > for f in $(find . -name "whatever") > > do > > > $f > > more processing on $f > > done > > Hey Jim thanks for that (though presumably the processing should be done > on $f BEFORE zeroing it out? ;) >
:) I love *nix too. Yeah, I apologize for the obfu example. My example was just showing a fast way to clear out files in a loop. However, specific to your situation, you will want to massage my idea to work best with your implementation. - Jim > I just love this *nix world - all these obscure abbreviations for things! > > cheers, > > Tony -- Jim Conner <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part
