From owner-cvs-all Fri Apr 19 17: 2:59 2002 Delivered-To: cvs-all@freebsd.org Received: from finntroll.newgold.net (Durham-ar1-4-64-252-019.dsl.genuity.net [4.64.252.19]) by hub.freebsd.org (Postfix) with SMTP id 9282D37B41A for ; Fri, 19 Apr 2002 17:02:38 -0700 (PDT) Received: (qmail 13447 invoked by uid 1001); 20 Apr 2002 00:09:03 -0000 Date: Sat, 20 Apr 2002 00:09:03 +0000 From: "J. Mallett" To: Garrett Wollman Cc: "J. Mallett" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/xargs Makefile strnsubst.c xargs.1 xargs.c Message-ID: <20020420000901.GE16783@FreeBSD.ORG> References: <200204192328.g3JNSsA87474@freefall.freebsd.org> <200204192345.g3JNjqs79012@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200204192345.g3JNjqs79012@khavrinen.lcs.mit.edu> User-Agent: Mutt/1.3.27i Organisation: FreeBSD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Apr 19, 2002 at 07:45:52PM -0400, Garrett Wollman wrote: > < said: > > >Traditional behaviour should not be affected, use of -J should be deprecated > >in favor of the more portable -I (though -J has been left, for now). > > See the mailing-list archives. > > The `-J' option was implemnted because the standard `-I' and `-L' > options are inadequate. The semantics are different. Because of the size limitations? Okay, well, then -J could be implemented in terms of an unlimited -I case, but this would change behaviour due to the fact that -I does substring substitution (and other more intelligent things, imo), and so something like: xargs -J% echo foo%foo % foo-foo would have drastically different behaviour. Still, I'd like to have a non-limited version of -I in xargs(1)... What are the thoughts regarding that? -- jmallett@FreeBSD.org | C, MIPS, POSIX, UNIX, BSD, IRC Geek. http://www.FreeBSD.org | The Power to Serve "We all need mirrors to remind ourselves who we are -- I'm no different." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message