Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 2004 23:15:23 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-current@freebsd.org
Cc:        Putinas Piliponis <Putinas.Piliponis@hansa.lt>
Subject:   Re: Could ARG_MAX be increased?
Message-ID:  <200409242315.31325.doconnor@gsoft.com.au>
In-Reply-To: <20040923184648.GB775@gothmog.gr>
References:  <217202CB5FF8AE439E263CE3D48ECB50686C37@honda.int.hansa.lt> <p06110411bd78c249333c@[128.113.24.47]> <20040923184648.GB775@gothmog.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409242315.31325.doconnor>