xargs

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
Subject: xargs
On Sun, 2004-01-04 at 17:24, Matt Alexander wrote:
> Joe Toon said:
> > This works on FreeBSD, it might be slightly different on your Linux
> > distro:
> >
> > cat users | xargs -L 1 -I $$ cp /etc/skel/.procmailrc $$
>
>
> Here's the GNU version:
>
> cat users | xargs -l1 cp /etc/skel/somefile
>
> The -l1 option feeds xargs one line at a time.

---
what a great list...

in just a couple of minutes, I got 2 ways to do it.

You guys are all awesome - thanks everyone

Craig