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 20CC71387C0 for ; Fri, 1 Feb 2013 09:55:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB8AC21C029; Fri, 1 Feb 2013 09:55:21 +0000 (UTC) Received: from mail-ia0-f173.google.com (mail-ia0-f173.google.com [209.85.210.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C9DFA21C014 for ; Fri, 1 Feb 2013 09:55:20 +0000 (UTC) Received: by mail-ia0-f173.google.com with SMTP id h37so757943iak.4 for ; Fri, 01 Feb 2013 01:55:15 -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=h1gIhxpHtefoI+c0jzS/FyBT1YlQ+ajdhcQRFfcP9gg=; b=dVi7XZ/9fedPvRYwy/+HNtuCm+WRHx7zncJotuNjrlNDPtGRT4uJhiacUF0DaoSKzR AYFuW/JKBYTVWoCW3ajfKRd82JfbxnePifquEQ6TD7UpM+dw75dsuTQAeqsSfOYCauX6 Ss1xmulACArdehlNGDqWWfhqOH7VNieYoyfGrLiz8ZHFVLX8nYVqk7FicE2SIbRHV3TZ XkBJhITR5ieVubuyfhVSzfXBcZDPFrptb6qIeQF1iPfzwmb0fV7Oto9G+shHoQOCNCvT y2Kqe/ZgyV00VodZT4JjNShHoLadBebvaUSzF99HREmBjLUTuN/HlBP32WCX3zmqZo5q 7V9A== 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.50.189.193 with SMTP id gk1mr662464igc.87.1359712514977; Fri, 01 Feb 2013 01:55:14 -0800 (PST) Sender: yngwin@gmail.com Received: by 10.64.52.166 with HTTP; Fri, 1 Feb 2013 01:55:14 -0800 (PST) In-Reply-To: <1359658743.26423.13.camel@belkin4> References: <1359295221.2927.24.camel@belkin4> <1359308848.2927.32.camel@belkin4> <1359658743.26423.13.camel@belkin4> Date: Fri, 1 Feb 2013 17:55:14 +0800 X-Google-Sender-Auth: tLWEmtlLX7H2mnXMJs1rt8kr3Lc 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: 6755ccef-2dcc-4d7d-b279-f9afb0526b6a X-Archives-Hash: 7701b4341f7cfc63fd4c79c8a3b966d7 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 desir= ed >> > 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 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 li= ne >> > to be used. This can also be useful to append extra information to >> > DOC_CONTENTS when, for example, additional info is needed when enablin= g >> > 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 How about using an "as-is" argument to readme.gentoo_create_doc? That would be more concise. :-) --=20 Cheers, Ben | yngwin Gentoo developer Gentoo Qt project lead, Gentoo Wiki admin