From owner-freebsd-ports@FreeBSD.ORG Wed Sep 14 08:29:05 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88DF81065672 for ; Wed, 14 Sep 2011 08:29:05 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from smtp.burggraben.net (ns.exwg.net [88.198.69.35]) by mx1.freebsd.org (Postfix) with ESMTP id 4B1FA8FC16 for ; Wed, 14 Sep 2011 08:29:05 +0000 (UTC) Received: by smtp.burggraben.net (Postfix, from userid 1000) id C994B6003D2; Wed, 14 Sep 2011 10:29:03 +0200 (CEST) Date: Wed, 14 Sep 2011 10:29:03 +0200 From: Christoph Moench-Tegeder To: freebsd-ports@freebsd.org Message-ID: <20110914082902.GA32250@ns.burggraben.net> References: <201109131411.p8DEBTGA081124@lurza.secnetix.de> <4E6FC59C.5090509@missouri.edu> <4e70bdb8.AJO467lneB8GUlld%perryh@pluto.rain.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <4e70bdb8.AJO467lneB8GUlld%perryh@pluto.rain.com> X-PGP-Key: RSA/2048 0xB816EBBD X-PGP-Fingerprint: 89 2E 6D 05 95 B8 D7 1F 7C 1D C3 1E 95 A0 9B 5D X-GPG: supported User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: Thank you (for making the ports less boring). X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2011 08:29:05 -0000 ## perryh@pluto.rain.com (perryh@pluto.rain.com): > > I notice "/bin/echo */*/Makefile*" doesn't work. > > The same (builtin echo works, /bin/echo not) happens in /bin/sh, > and in bash. > > > Is this documented somewhere? > > Not that I know of. There is a limit to the length of arguments to the exec()-functions (measured in bytes). It's even in POSIX.1: ARG_MAX, you can query it with "getconf ARG_MAX". When using shell builtins (like echo, instead of the "external" /bin/echo), no exec() happens and the limit does not apply. If I got my history right, this was even in 4.4BSD. Regards, Christoph -- Spare Space.