Date: Mon, 06 Feb 2012 14:08:20 -0800 From: Doug Barton <dougb@FreeBSD.org> To: Hiroki Sato <hrs@FreeBSD.org> Cc: freebsd-rc@FreeBSD.org Subject: Re: Proposal ipv6_addrs_common Message-ID: <4F304F54.4020802@FreeBSD.org> In-Reply-To: <20120207.064701.1809281571072237708.hrs@allbsd.org> References: <4F2F3459.3090401@erdgeist.org> <20120206.114622.2214566196455293098.hrs@allbsd.org> <4F2F442F.3030509@erdgeist.org> <20120207.064701.1809281571072237708.hrs@allbsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F304F54.4020802>