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 8F2F71387F0 for ; Sat, 2 Feb 2013 11:05:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3780C21C027; Sat, 2 Feb 2013 11:04: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 4001BE0630 for ; Sat, 2 Feb 2013 11:04: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 BD59633DD15 for ; Sat, 2 Feb 2013 11:04: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: <1359750888.26423.16.camel@belkin4> References: <1359295221.2927.24.camel@belkin4> <1359308848.2927.32.camel@belkin4> <1359658743.26423.13.camel@belkin4> <1359750888.26423.16.camel@belkin4> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-hqoXf/IQqY6FLUY6SofK" Date: Sat, 02 Feb 2013 12:04:49 +0100 Message-ID: <1359803089.26423.18.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: 235cd151-dcbb-4091-bb7a-41092aa01c10 X-Archives-Hash: c8081a6a5469400c235fbb34bcb09edf --=-hqoXf/IQqY6FLUY6SofK Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El vie, 01-02-2013 a las 21:34 +0100, Pacho Ramos escribi=C3=B3: > 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 d= esired > > >> > messages, they are automatically reformatted by "fmt" to get prope= r > > >> > messages (for example, splitting long lines). > > >> > > > >> > But, in some cases, may be useful to disable this behavior and res= pect > > >> > strictly how DOC_CONTENTS was formatted, for example in that kind = of > > >> > messages telling people to run a command and, then, requiring a ne= w line > > >> > to be used. This can also be useful to append extra information to > > >> > DOC_CONTENTS when, for example, additional info is needed when ena= bling > > >> > a USE flag. > > >> > > > >> > > > >> > > >> 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 > > >> > > >> 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. :-) But, how could people then active that "as-is" option without needing to write a src_install function calling readme.gentoo_create_doc with that option?=20 --=-hqoXf/IQqY6FLUY6SofK 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) iEYEABECAAYFAlEM8tEACgkQCaWpQKGI+9QgmgCfdD5fdAQ4XGEM9os7J+vY2PkG ZFIAniSn2SGkQxPoqn9f9DyfqLYnL4u/ =nHXm -----END PGP SIGNATURE----- --=-hqoXf/IQqY6FLUY6SofK--