From owner-freebsd-current@FreeBSD.ORG Fri Sep 24 13:47:22 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBD3C16A4CE for ; Fri, 24 Sep 2004 13:47:22 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id EECB543D5C for ; Fri, 24 Sep 2004 13:47:21 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id i8ODjW44050275; Fri, 24 Sep 2004 23:15:32 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-current@freebsd.org Date: Fri, 24 Sep 2004 23:15:23 +0930 User-Agent: KMail/1.7 References: <217202CB5FF8AE439E263CE3D48ECB50686C37@honda.int.hansa.lt> <20040923184648.GB775@gothmog.gr> In-Reply-To: <20040923184648.GB775@gothmog.gr> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart33214272.ptCTyQuVvq"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200409242315.31325.doconnor@gsoft.com.au> X-Spam-Score: -2.5 () IN_REP_TO,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_02_03,USER_AGENT X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: Giorgos Keramidas cc: Garance A Drosihn cc: Putinas Piliponis Subject: Re: Could ARG_MAX be increased? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2004 13:47:22 -0000 --nextPart33214272.ptCTyQuVvq Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Fri, 24 Sep 2004 04:16, Giorgos Keramidas wrote: > find . -type f | \ > while read line ;do > # Do something with $line > done > > This and xargs -0 for the cases where filenames can contain whitespace > works like a charm anywhere, anytime... It's only a pitty that you can have newlines in filenames :) (Rare though) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart33214272.ptCTyQuVvq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBVCT75ZPcIHs/zowRAkSYAJ48Z8tr87O24Vnr3DdE9UnFXD4rngCfSp5X 5UdSjafOXCAQE+fymJX7EGk= =BHXP -----END PGP SIGNATURE----- --nextPart33214272.ptCTyQuVvq--