Gentoo Archives: gentoo-dev

From: Pacho Ramos <pacho@g.o>
To: gentoo-dev@l.g.o
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: Thu, 31 Jan 2013 18:59:20
Message-Id: 1359658743.26423.13.camel@belkin4
In Reply to: readme.gentoo.eclass: use echo -e instead of plain echo (Was: Re: [gentoo-dev] readme.gentoo.eclass: Add a DISABLE_AUTOFORMATTING variable= by Pacho Ramos
1 El dom, 27-01-2013 a las 18:47 +0100, Pacho Ramos escribió:
2 > El dom, 27-01-2013 a las 15:00 +0100, Pacho Ramos escribió:
3 > > Currently, when people uses DOC_CONTENTS variable to place their desired
4 > > messages, they are automatically reformatted by "fmt" to get proper
5 > > messages (for example, splitting long lines).
6 > >
7 > > But, in some cases, may be useful to disable this behavior and respect
8 > > strictly how DOC_CONTENTS was formatted, for example in that kind of
9 > > messages telling people to run a command and, then, requiring a new line
10 > > to be used. This can also be useful to append extra information to
11 > > DOC_CONTENTS when, for example, additional info is needed when enabling
12 > > a USE flag.
13 > >
14 > >
15 >
16 > Well, after reading man echo I see all this is not needed, I simply need
17 > to use echo -e to get it understand "\n" to create new lines
18 >
19 > New patch attached
20
21 This will add an option to disabling autoformatting to let people get
22 their doc_contents 100% respected if they want

Attachments

File name MIME type
1.patch text/x-patch
signature.asc application/pgp-signature

Replies