At 20:07 -0700 28 Aug 2000, Joe Brenner <[EMAIL PROTECTED]> wrote:
> I guess what bothers me most is that there doesn't seem to
> be any placeholder for where the filename is going to go.
> Like what if you don't want the filename at the end of the
> command line? Then you revert back to find with -exec?
xargs does have support for a place holder. The default is even the
same as for find -exec:
--replace[=replace-str], -i[replace-str]
Replace occurences of replace-str in the initial
arguments with names read from standard input.
Also, unquoted blanks do not terminate arguments.
If replace-str is omitted, it defaults to "{}"
(like for `find -exec'). Implies -x and -l 1.
--
Aaron Schrab [EMAIL PROTECTED] http://www.execpc.com/~aarons/
Let's say the docs present a simplified view of reality... :-)
--Larry Wall
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list