From owner-freebsd-questions Mon Nov 25 19:10:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6411F37B401 for ; Mon, 25 Nov 2002 19:10:14 -0800 (PST) Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id D43EB43E88 for ; Mon, 25 Nov 2002 19:10:12 -0800 (PST) (envelope-from deepbsd@earthlink.net) Received: from user-119a2km.biz.mindspring.com ([66.149.10.150] helo=sylvester.dsj.net) by albatross.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 18GW6v-0000Nt-00 for freebsd-questions@freebsd.org; Mon, 25 Nov 2002 19:10:05 -0800 Received: (from dsj@localhost) by sylvester.dsj.net (8.9.3/8.9.3/Debian 8.9.3-21) id WAA19573 for freebsd-questions@freebsd.org; Mon, 25 Nov 2002 22:10:03 -0500 Date: Mon, 25 Nov 2002 22:10:03 -0500 From: "David S. Jackson" To: freebsd-questions@freebsd.org Subject: xargs -J Message-ID: <20021125221003.A19207@sylvester.dsj.net> Reply-To: "David S. Jackson" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I've been trying to use |xargs -J [] mv [] [].suffix but to no avail. I've tried |xargs -J mv \[\] \[\].suffix and variations but that doesn't seem to work either. It seems to work fine with the -i command under GNU xargs, but not under Freebsd. An example would be $ touch one two three $ ls one two three | xargs -J [] mv [] [].suffix I should now have one.suffix two.suffix three.suffix. At least, that's what happens with GNU and the -i \{\}. (FreeBSD manpage says to use -J [] without escapes though.) Can anyone lend me a clue here please? TIA. -- David S. Jackson dsj@dsj.net =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= I have a map of the United States. It's actual size. I spent last summer folding it. People ask me where I live, and I say, "E6". -- Steven Wright To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message