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 514081386E5 for ; Sun, 27 Jan 2013 18:05:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C5DF321C0B4; Sun, 27 Jan 2013 18:05:46 +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 BA9E621C0B0 for ; Sun, 27 Jan 2013 18:05:45 +0000 (UTC) Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id E114F33DA95 for ; Sun, 27 Jan 2013 18:05:44 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Subject: Re: readme.gentoo.eclass: use echo -e instead of plain echo (Was: Re: [gentoo-dev] readme.gentoo.eclass: Add a DISABLE_AUTOFORMATTING variable= Date: Sun, 27 Jan 2013 13:05:53 -0500 User-Agent: KMail/1.13.7 (Linux/3.7.1; KDE/4.6.5; x86_64; ; ) References: <1359295221.2927.24.camel@belkin4> <1359308848.2927.32.camel@belkin4> In-Reply-To: <1359308848.2927.32.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 Content-Type: multipart/signed; boundary="nextPart2047617.tBOA3qeBQu"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201301271305.54346.vapier@gentoo.org> X-Archives-Salt: 6bafd22d-d098-4757-80ff-135d3f00e090 X-Archives-Hash: 99a05893b480e52577c0a3b4fbc0cbbe --nextPart2047617.tBOA3qeBQu Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Sunday 27 January 2013 12:47:28 Pacho Ramos wrote: > 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 desired > > 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 line > > 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 > 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 printf '%b' "${foo}" =2Dmike --nextPart2047617.tBOA3qeBQu Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJRBWyCAAoJEEFjO5/oN/WBpIMP/i/3z60NtbNXzmq4ew0DnpGs UEbO0WdWBs7FxSxwZABkh4NyY/LbCb3i6K5zroli3A0V6FdLwZtJBrptaXs82nNx z0VHNvXeB4HVFsHdceGxVZu+49azsVk7hyLpFalrhmmb8Lm6J4qEbVbCnszFdZSt RY0n+0Wh4wlKNW2iWX5RKug5t7yrBOuqJ5f6AliAHnGKxWWilPlK2apaceTAOiIG lUcrOk38p6rri28w2WsTVKysKMJ6PHe2n/3Cd5zy0GhPN+pKvYRU+FVsgLmwq/NB Vgy4+4t4FTw0TK/GYr8iBEioQ2nkyF3u+oADCVBxY6YiTjxL0Zc8oBM9eiMMHM39 EWsv3kZNybbCdsovewfIq5CdSzr4J3xdUvxUPAeFc9IwpiW8lsda8GSKUXBhoChs fNxl7aKrMjfe+4cOmzTl5NKDFM4nJUJOlR2XF4uzpkb3mZMLF/GVnumYzs0G8A1b AgEwzIFAcZANhprBk8a4miR7QgZiSDI5wMJ5/VCaPflcdRgrtRIlGS459v74c4NH BQI64hBjND+4vv4ptYYBmHXlMmafYJ1z6bSIoq3VVM+F5m3l/P2BDf3xwe/0CHSh LUAN1v3VlitJC459TRJkACSIVRN0Awe6n6UR/aDGyA/FrTt9cVf5wTLp1xKP1Ju8 IIdy8AkZ6kuMkP8lGqQZ =qov5 -----END PGP SIGNATURE----- --nextPart2047617.tBOA3qeBQu--