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 A04711387D5 for ; Fri, 1 Feb 2013 20:34:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A867E0531; Fri, 1 Feb 2013 20:34:56 +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 1E70FE0459 for ; Fri, 1 Feb 2013 20:34:55 +0000 (UTC) Received: from [192.168.1.33] (85.Red-2-137-6.dynamicIP.rima-tde.net [2.137.6.85]) (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 7337D33DCC5 for ; Fri, 1 Feb 2013 20:34:53 +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: References: <1359295221.2927.24.camel@belkin4> <1359308848.2927.32.camel@belkin4> <1359658743.26423.13.camel@belkin4> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-7FaVgXEy25Fc+zPbg33Y" Date: Fri, 01 Feb 2013 21:34:48 +0100 Message-ID: <1359750888.26423.16.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: 9853a7de-b3f3-47ab-832e-2e12c322263a X-Archives-Hash: be2c8b3c2290680ac286b58b683baf44 --=-7FaVgXEy25Fc+zPbg33Y Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El vie, 01-02-2013 a las 17:55 +0800, Ben de Groot escribi=C3=B3: > On 1 February 2013 02:59, Pacho Ramos wrote: > > 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 des= ired > >> > messages, they are automatically reformatted by "fmt" to get proper > >> > messages (for example, splitting long lines). > >> > > >> > But, in some cases, may be useful to disable this behavior and respe= ct > >> > strictly how DOC_CONTENTS was formatted, for example in that kind of > >> > messages telling people to run a command and, then, requiring a new = line > >> > to be used. This can also be useful to append extra information to > >> > DOC_CONTENTS when, for example, additional info is needed when enabl= ing > >> > a USE flag. > >> > > >> > > >> > >> Well, after reading man echo I see all this is not needed, I simply ne= ed > >> to use echo -e to get it understand "\n" to create new lines > >> > >> New patch attached > > > > This will add an option to disabling autoformatting to let people get > > their doc_contents 100% respected if they want >=20 > How about using an "as-is" argument to readme.gentoo_create_doc? > That would be more concise. :-) >=20 I have no problem on either solution... but don't have time just now to work on a patch to achieve it, if you have a bit time, I would really appreciate :) --=-7FaVgXEy25Fc+zPbg33Y 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) iEYEABECAAYFAlEMJugACgkQCaWpQKGI+9QUkQCZAV8sED5RNIq74rMeyNNafxvw kKQAnjsqPdPUELvpOdJAejFjlodog1u7 =E8Uj -----END PGP SIGNATURE----- --=-7FaVgXEy25Fc+zPbg33Y--