On 05:54:39 Jun 07, Masatran, R. Deepak wrote:
> Aren't
> 
>     xargs foo
> 
> and
> 
>     xargs -i foo {}
> 
> supposed to be identical? Why do they act different?
> 

Because xargs(1) is a weird command to use.

But then I don't think there is an alternative.

The usage semantics always confuse me.

> For instance, compare:
> 
>     ls / | xargs ls -d
> 
> and
> 
>     ls / | xargs -i ls -d {}
> 

I can scarcely remember it. But it is far easier than using the find
builtin mechanisms to achieve the same end.

I think you are missing some switch of xargs.

-Girish
_______________________________________________
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to