Date: Tue, 17 Jul 2001 01:35:39 -0400 From: parv <parv_@yahoo.com> To: Dima Dorfman <dima@unixfreak.org> Cc: Andreas Klemm <andreas@FreeBSD.ORG>, freebsd-stable@FreeBSD.ORG Subject: Re: of shell, find, and (g)xargs (Re: mass uninstall all ports?) Message-ID: <20010717013539.A63342@moo.holy.cow> In-Reply-To: <20010717052214.E58793E28@bazooka.unixfreak.org>; from dima@unixfreak.org on Mon, Jul 16, 2001 at 10:22:14PM -0700 References: <20010716120325.A1149@moo.holy.cow> <20010717052214.E58793E28@bazooka.unixfreak.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010717013539.A63342>