From owner-freebsd-current Sat Apr 21 8:35:33 2001 Delivered-To: freebsd-current@freebsd.org Received: from lists01.iafrica.com (lists01.iafrica.com [196.7.0.141]) by hub.freebsd.org (Postfix) with ESMTP id B553537B42C for ; Sat, 21 Apr 2001 08:35:29 -0700 (PDT) (envelope-from sheldonh@uunet.co.za) Received: from nwl.fw.uunet.co.za ([196.31.2.162]) by lists01.iafrica.com with esmtp (Exim 3.12 #2) id 14qzPz-0003KN-00 for freebsd-current@freebsd.org; Sat, 21 Apr 2001 17:35:27 +0200 Received: (from nobody@localhost) by nwl.fw.uunet.co.za (8.8.8/8.6.9) id RAA16157 for ; Sat, 21 Apr 2001 17:35:25 +0200 (SAST) Received: by nwl.fw.uunet.co.za via recvmail id 16057; Sat Apr 21 17:34:31 2001 Received: from sheldonh (helo=axl.fw.uunet.co.za) by axl.fw.uunet.co.za with local-esmtp (Exim 3.22 #1) id 14qzP5-000Hcc-00 for freebsd-current@FreeBSD.ORG; Sat, 21 Apr 2001 17:34:31 +0200 To: freebsd-current@freebsd.org Subject: Re: cp -d dir patch for review (or 'xargs'?) In-reply-to: Your message of "Sat, 21 Apr 2001 17:27:04 +0200." <200104211527.RAA06452@lurza.secnetix.de> Date: Sat, 21 Apr 2001 17:34:31 +0200 Message-ID: <67741.987867271@axl.fw.uunet.co.za> From: Sheldon Hearn Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 21 Apr 2001 17:27:04 +0200, Oliver Fromme wrote: > Not all users use /bin/sh. Scripts needn't be written > in /bin/sh, and xargs can be used interactively, too (I > use it a lot). Just because _our_ xargs works fine with > _our_ /bin/sh doesn't mean there is no problem. So we have two problems: 1) Calling cp(1) repetitively is inefficient. 2) The argument list is too big for cp(1). Extending cp(1) will not solve (2). Extending xargs(1) will solve both. So why is an extension to cp(1) being proposed? Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message