[clue-tech] question on commands

Timothy Klein teece at silverklein.net
Thu Mar 10 19:38:04 MST 2005


On 10 Mar 2005, at 12:22 PM, Jed S. Baer wrote:

> On Thu, 10 Mar 2005 07:42:22 -0700
> Dave Brown wrote:
>
>> find . -name application.properties | xargs vi
>
> Why pipe the find output through xargs when the -exec option is there 
> in
> find?
>

Not to speak for Dave Brown, but I would just guess out of habit.  Once 
in a while, you have too many arguments for a single command line to 
handle, in which case you need 'xargs' (or something like that).  So I 
have met people that simply always used 'xargs' so as not to have to 
remember two ways of doing it.

Tim
--
Timothy Klein: tecce at silverklein.net
Vanity Page: http://tinyurl.com/vkhp
AIM: TangoCKilo; ICQ:289210734
Hello_World.c:  17 Errors, 31 Warnings




More information about the clue-tech mailing list