Re: of shell, find, and (g)xargs (Re: mass uninstall all ports?)

[ Available lists | Index of freebsd-stable | Month of Jul 2001 | Week of 16 Jul 2001 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
parv <parv_@yahoo.com>
Date
16 Jul 2001 22:31:56
Subject
Re: of shell, find, and (g)xargs (Re: mass uninstall all ports?)
Message-ID
20010717013539.A63342@moo.holy.cow

References to

[ Hide this part ]
on Jul 17 01:27, i got this from Dima...
> parv <parv_@yahoo.com> writes:
> > ...but since freebsd's xargs doesn't support anything like gnu xargs' '-i'
>
> Yes it does. Here's an excerpt from xargs(1):
>
> -J replstr
> If this option is specified, xargs will use the data read from
> standard input to replace the first occurrence of replstr instead
> of appending that data after all other arguments. This option
...
>
> /bin/ls -1d [A-Z]* | xargs -J [] cp -rp [] destdir
>
> It's not compatible with -i, but it would've served your purpose.

not over here. here is the synopsis from man page:


SNYOPSIS
xargs [-0] [-t] [-n number [-x]] [-s size] [utility [argument ...]]


may be it was been added after i made the world (before jun 24, 2001).


--
so, do you like word games or scrabble?
- parv

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Elapsed time: 0.219 seconds