From owner-freebsd-rc@FreeBSD.ORG Mon Feb 6 22:08:42 2012 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 69E42106566B; Mon, 6 Feb 2012 22:08:42 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-150-251.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id F0548153A7C; Mon, 6 Feb 2012 22:08:20 +0000 (UTC) Message-ID: <4F304F54.4020802@FreeBSD.org> Date: Mon, 06 Feb 2012 14:08:20 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:10.0) Gecko/20120201 Thunderbird/10.0 MIME-Version: 1.0 To: Hiroki Sato References: <4F2F3459.3090401@erdgeist.org> <20120206.114622.2214566196455293098.hrs@allbsd.org> <4F2F442F.3030509@erdgeist.org> <20120207.064701.1809281571072237708.hrs@allbsd.org> In-Reply-To: <20120207.064701.1809281571072237708.hrs@allbsd.org> X-Enigmail-Version: 1.3.5 OpenPGP: id=1A1ABC84 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigCFA516CE2933821963744664" Cc: freebsd-rc@FreeBSD.org Subject: Re: Proposal ipv6_addrs_common X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2012 22:08:42 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCFA516CE2933821963744664 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/06/2012 13:47, Hiroki Sato wrote: > It actually depends on the newline That's way too fragile, as users are likely to put them all in one line since shell syntax doesn't differentiate (assuming non-wacky values of IF= S). > because the following code is used: >=20 > --- > foo=3D" > foo > bar > baz > " >=20 > echo "$foo" | while read L; do echo $L; done Yeah, don't do that. Aside from the useless fork that you'll cause, you can just as easily write: for L in $foo; do (Note that $foo is *not* quoted there ...) Doug --=20 It's always a long day; 86400 doesn't fit into a short. Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ --------------enigCFA516CE2933821963744664 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBCAAGBQJPME9UAAoJEFzGhvEaGryEIi8IALSZ7KgJkbf4b60oRMSL4ZxA 265NY3zLTgYx75UsJZVYz6qDQYvFBBk91npFmwezqPtEuYt59Y92EDw4KK8LoGzz uofmaCyTzfXZrZZzfbOJiu0H5PFvKcIqN2gXnZp9ECYTJibIM+YehRN0pKa216lS y3Y+UNxIUYeDdTZamt49q6gzQHbnoCj6FlIoD+ARouXptDPfybqNVl0QUPAi2/9+ S6Eu2QLnRCnVyOoiPFMiAF7Ny/scWPlRjLfS6PtlqgT7h6woY6fOCBgYco/Nnk+v vmGyOZXfrQzmOUUZmBlQFqCFupmX/75x6+4LcSOmgk0jbNPGMbYKrSiZemeq1zA= =DpzH -----END PGP SIGNATURE----- --------------enigCFA516CE2933821963744664--