On Fri, 28 May 2004, Joe Emenaker wrote:
> David B Funk wrote:
>
> >Try:
> >
> >find . -type f -print | xargs -i echo "spamc -r < {}" | sh
> >
> >
> Incidentally, "-print" is implied if you don't use "-exec" (and probably
> a few other things). So, you can just say
> "find . -type f | ..."
That depends upon what favor of Unix you are using. You are correct
if your "find" is a Sys-V derived version. The Berkeley BSD-4.3
version of "find" would output -nothing- if you did not use the
'-print' or '-ls' args (it would only set the exit code).
--
Dave Funk University of Iowa
<dbfunk (at) engineering.uiowa.edu> College of Engineering
319/335-5751 FAX: 319/384-0549 1256 Seamans Center
Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{