From owner-freebsd-current@FreeBSD.ORG Fri Sep 24 14:40:08 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 2BD8216A4CF for ; Fri, 24 Sep 2004 14:40:08 +0000 (GMT) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id B386743D31 for ; Fri, 24 Sep 2004 14:40:07 +0000 (GMT) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id i8OEe4bC002407 for ; Fri, 24 Sep 2004 10:40:05 -0400 (EDT) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id i8OEe4Ww002406 for freebsd-current@freebsd.org; Fri, 24 Sep 2004 10:40:04 -0400 (EDT) Date: Fri, 24 Sep 2004 10:40:04 -0400 From: Thomas Dickey To: freebsd-current@freebsd.org Message-ID: <20040924144004.GA2065@saltmine.radix.net> References: <217202CB5FF8AE439E263CE3D48ECB50686C37@honda.int.hansa.lt> <20040923184648.GB775@gothmog.gr> <200409242315.31325.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline In-Reply-To: <200409242315.31325.doconnor@gsoft.com.au> User-Agent: Mutt/1.3.27i 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 14:40:08 -0000 --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 24, 2004 at 11:15:23PM +0930, Daniel O'Connor wrote: > 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... >=20 > It's only a pitty that you can have newlines in filenames :) > (Rare though) for something like that I'd do the renaming with my directory editor. --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFBVDHCtIqByHxlDocRAow5AKCEuqk7/4LgPRo4A9nyqGC4MzTOhQCeKbYM /tVh2CSuZHhwDFcqeNSsP7o= =/Y3j -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw--