From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 764A41387A2 for ; Thu, 31 Jan 2013 18:59:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A0FF321C078; Thu, 31 Jan 2013 18:59:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A44E021C03D for ; Thu, 31 Jan 2013 18:59:10 +0000 (UTC) Received: from [192.168.1.33] (102.Red-2-137-67.dynamicIP.rima-tde.net [2.137.67.102]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: pacho) by smtp.gentoo.org (Postfix) with ESMTPSA id 1735433DC4C for ; Thu, 31 Jan 2013 18:59:08 +0000 (UTC) Subject: Re: readme.gentoo.eclass: use echo -e instead of plain echo (Was: Re: [gentoo-dev] readme.gentoo.eclass: Add a DISABLE_AUTOFORMATTING variable= From: Pacho Ramos To: gentoo-dev@lists.gentoo.org In-Reply-To: <1359308848.2927.32.camel@belkin4> References: <1359295221.2927.24.camel@belkin4> <1359308848.2927.32.camel@belkin4> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-WSRM5JCdqwXvcU7WyLdt" Date: Thu, 31 Jan 2013 19:59:03 +0100 Message-ID: <1359658743.26423.13.camel@belkin4> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.32.3 X-Archives-Salt: aadb4f94-218d-4b4a-9edf-cdcf5c33793c X-Archives-Hash: 50bbe6acbef828e6ad753dc388a072e1 --=-WSRM5JCdqwXvcU7WyLdt Content-Type: multipart/mixed; boundary="=-0MrUWCBwJh2UekGoxmlz" --=-0MrUWCBwJh2UekGoxmlz Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El dom, 27-01-2013 a las 18:47 +0100, Pacho Ramos escribi=C3=B3: > El dom, 27-01-2013 a las 15:00 +0100, Pacho Ramos escribi=C3=B3: > > Currently, when people uses DOC_CONTENTS variable to place their desire= d > > messages, they are automatically reformatted by "fmt" to get proper > > messages (for example, splitting long lines). > >=20 > > But, in some cases, may be useful to disable this behavior and respect > > strictly how DOC_CONTENTS was formatted, for example in that kind of > > messages telling people to run a command and, then, requiring a new lin= e > > to be used. This can also be useful to append extra information to > > DOC_CONTENTS when, for example, additional info is needed when enabling > > a USE flag. > >=20 > >=20 >=20 > Well, after reading man echo I see all this is not needed, I simply need > to use echo -e to get it understand "\n" to create new lines >=20 > New patch attached This will add an option to disabling autoformatting to let people get their doc_contents 100% respected if they want --=-0MrUWCBwJh2UekGoxmlz Content-Disposition: attachment; filename="1.patch" Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name="1.patch"; charset="UTF-8" LS0tIHJlYWRtZS5nZW50b28uZWNsYXNzCTIwMTMtMDEtMjQgMjI6Mzg6NDEuMDAwMDAwMDAwICsw MTAwDQorKysgL3Vzci9wb3J0YWdlL2VjbGFzcy9yZWFkbWUuZ2VudG9vLmVjbGFzcwkyMDEzLTAx LTMxIDE5OjU1OjQwLjAwMDAwMDAwMCArMDEwMA0KQEAgLTM2LDYgKzM2LDEyIEBADQogDQogRVhQ T1JUX0ZVTkNUSU9OUyBzcmNfaW5zdGFsbCBwa2dfcG9zdGluc3QNCiANCisjIEBFQ0xBU1MtVkFS SUFCTEU6IERJU0FCTEVfQVVUT0ZPUk1BVFRJTkcNCisjIEBERUZBVUxUX1VOU0VUDQorIyBAREVT Q1JJUFRJT046DQorIyBJZiBub24tZW1wdHksIERPQ19DT05URU5UUyBpbmZvcm1hdGlvbiB3aWxs IGJlIHN0cmljdGx5IHJlc3BlY3RlZCwNCisjIG5vdCBnZXR0aW5nIGl0IGF1dG9tYXRpY2FsbHkg Zm9ybWF0dGVkIGJ5IGZtdC4NCisNCiAjIEBFQ0xBU1MtVkFSSUFCTEU6IEZPUkNFX1BSSU5UX0VM T0cNCiAjIEBERUZBVUxUX1VOU0VUDQogIyBAREVTQ1JJUFRJT046DQpAQCAtNTMsNyArNTksMTEg QEANCiAJaWYgW1sgLW4gIiR7RE9DX0NPTlRFTlRTfSIgXV07IHRoZW4NCiAJCWVzaG9wdHNfcHVz aA0KIAkJc2V0IC1mDQotCQllY2hvICR7RE9DX0NPTlRFTlRTfSB8IGZtdCA+ICIke1R9Ii9SRUFE TUUuZ2VudG9vDQorCQlpZiBbWyAtbiAiJHtESVNBQkxFX0FVVE9GT1JNQVRUSU5HfSIgXV07IHRo ZW4NCisJCQllY2hvICIke0RPQ19DT05URU5UU30iID4gIiR7VH0iL1JFQURNRS5nZW50b28NCisJ CWVsc2UNCisJCQllY2hvIC1lICR7RE9DX0NPTlRFTlRTfSB8IGZtdCA+ICIke1R9Ii9SRUFETUUu Z2VudG9vDQorCQlmaQ0KIAkJZXNob3B0c19wb3ANCiAJCWRvZG9jICIke1R9Ii9SRUFETUUuZ2Vu dG9vDQogCWVsc2UNCg== --=-0MrUWCBwJh2UekGoxmlz-- --=-WSRM5JCdqwXvcU7WyLdt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEABECAAYFAlEKvvcACgkQCaWpQKGI+9ThkgCfd6ok7oSuI1LKML2F/xVdOxEz uukAnRdmp4qqaeTmNHFi1jFIQMj6PIo+ =2b1R -----END PGP SIGNATURE----- --=-WSRM5JCdqwXvcU7WyLdt--