On Sat, Jun 7, 2008 at 8:13 PM, Kapil Hari Paranjape <[EMAIL PROTECTED]>
wrote:

> Hello,
>
> On Sat, 07 Jun 2008, Masatran, R. Deepak wrote:
> > Eureka! I scanned the man page again and found a switch "-l" which forces
> > each input argument to be processed separately. Therefore, it is
> >
> >     xargs -l foo
> >
> > that is equivalent to
> >
> >     xargs -i foo {}
> >
> > Now onwards, I will always use "-l" with XArgs.
>
> Be careful. The man page also says:
>
>        The -l option is deprecated since the POSIX  standard
>        specifies -L instead.
>
> So it may be better to use
>
>        xargs -L 1 foo
>
> Kapil.
>

btw xargs is much  more efficient than 'find -exec' - you can read the  good
discussion here
http://www.sunmanagers.org/pipermail/summaries/2005-March/006255.html
_______________________________________________
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