xargs

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: Matt Alexander
Fecha:  
Asunto: xargs
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.
~M