Hmm. I was having trouble trying to feed 'xargs' it's data without
actually putting it all on a command-line at some point(silly, eh?).
In any event, perhaps something like this will work:
for each file
...
$rmfiles=$rmfiles $some_files_to_delete
...
if 100 < -l "$rmfiles" then
$show "$rm $rmfiles"
$run $rm || exit_status=1
$rmfiles=
fi
done
if test -n "$rmfiles"; then
$show "$rm $rmfiles"
$run $rm || exit_status=1
$rmfiles=
fi
Is there a less random number than 100, that would be a reasonable
minimum?
-jeff
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool