From owner-freebsd-audit Sat Mar 16 2:36:10 2002 Delivered-To: freebsd-audit@freebsd.org Received: from sunny.newgold.net (durham-ar1-174-172.durham.dsl.gtei.net [4.40.174.172]) by hub.freebsd.org (Postfix) with ESMTP id E9C8137B402; Sat, 16 Mar 2002 02:36:07 -0800 (PST) Received: from sunny.newgold.net (freebsd@localhost [IPv6:::1]) by sunny.newgold.net (8.12.1/8.12.1) with ESMTP id g2GAFwDF011317; Sat, 16 Mar 2002 10:17:19 GMT Received: (from freebsd@localhost) by sunny.newgold.net (8.12.1/8.12.1/Submit) id g2GAFu1H015527; Sat, 16 Mar 2002 10:15:56 GMT Date: Sat, 16 Mar 2002 10:14:35 +0000 From: "J. Mallett" To: Dag-Erling Smorgrav Cc: "J. Mallett" , "Tim J. Robbins" , freebsd-audit@FreeBSD.ORG Subject: Re: patch for review: xargs standards compliance Message-ID: <20020316101434.A2192@FreeBSD.ORG> References: <20020315231100.A20942@FreeBSD.ORG> <20020316192629.A5254@descent.robbins.dropbear.id.au> <20020316090004.A26394@FreeBSD.ORG> <20020316093507.B26394@FreeBSD.ORG> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.21i Organisation: FreeBSD Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Mar 16, 2002 at 11:02:40AM +0100, Dag-Erling Smorgrav wrote: > "J. Mallett" writes: > > On Sat, Mar 16, 2002 at 10:40:26AM +0100, Dag-Erling Smorgrav wrote: > > > No, Solaris' xargs specifically checks that the argument to -E and -I > > > is not empty. I have the source in front of me. > > Should we do this then? > > Why not? An empty string doesn't make sense for either of them. http://people.freebsd.org/~jmallett/xargs.patch3 freefall% ./xargs -I '' xargs: replstr may not be empty I'm referring to it as 'replstr' as it is referred to as such in: o) The code o) The manpage o) The usage() Thanks, /j. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message