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 706FC13872A for ; Tue, 29 Jan 2013 06:03:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7CAD521C007; Tue, 29 Jan 2013 06:03:50 +0000 (UTC) Received: from mail-ie0-f181.google.com (mail-ie0-f181.google.com [209.85.223.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 98935E05F5 for ; Tue, 29 Jan 2013 06:03:49 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id 17so45710iea.40 for ; Mon, 28 Jan 2013 22:03:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=I2EWrWCxsQzSXPJe2RoGv6aEGpmWwidvGEo3AtvXiME=; b=POvZ+Tw75842SLRwrTjxOgfQwcS1fnFq+UXKQI+WTaPE1J1kMPKfBORSqJjOvDnLMY g74IojzwkZSPVr9HeXTu9aQbduGowxbjKdQci+tOwxM0DHfZVBDqy4DmgjoQ742vVTS7 N5dPLLEzPwsPzIM3k2KXlmHyMlDFxjJCmmhXAkMvQBTzzwbEtun4bulMVMp6/i02sb+T 1sqjmKfCz2TzWlhjQzHhGHYARGKflnvHQpRemazFWeC32NFDZPN5wVAIeyebd05e4unm 7vl1gHehW5Qlj8c5r/zt+vSWrh0gyCvP4MiA67MqndkrGrRrMUc91FQTixb5BWzlpVjB eW0A== 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-Received: by 10.42.81.148 with SMTP id z20mr266895ick.5.1359439428846; Mon, 28 Jan 2013 22:03:48 -0800 (PST) Sender: yngwin@gmail.com Received: by 10.64.52.166 with HTTP; Mon, 28 Jan 2013 22:03:48 -0800 (PST) In-Reply-To: <1359401406.2927.49.camel@belkin4> References: <1359295221.2927.24.camel@belkin4> <201301271305.54346.vapier@gentoo.org> <1359310887.2927.39.camel@belkin4> <201301272337.06614.vapier@gentoo.org> <1359401406.2927.49.camel@belkin4> Date: Tue, 29 Jan 2013 14:03:48 +0800 X-Google-Sender-Auth: pY6BFMqkHorqWKH-l6eP8CcvtWg Message-ID: 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: Ben de Groot To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: ff622964-3ae0-4497-8a20-1fcffee12294 X-Archives-Hash: 3e02d0d93641a37b7239cd229622a0ff On 29 January 2013 03:30, Pacho Ramos wrote: > El lun, 28-01-2013 a las 14:37 +0800, Ben de Groot escribi=C3=B3: >> I've started using this eclass, but with README files, not the variable, >> because this is currently the only way I can make sure it honours my >> formatting. >> > > Couldn't it be covered if "echo -e" was used (even with fmt) and you, > then, control formatting with some of the sequences it allows (they are > shown in its man page)? No. The eclass should assume that DOC_CONTENTS is already correctly formatted. If you must, you can add a convenience function for people who do want reformatting, but this should NOT be the default. Please don't make this eclass harder to use than it needs to be. --=20 Cheers, Ben | yngwin Gentoo developer Gentoo Qt project lead, Gentoo Wiki admin