1 |
On Sunday 27 January 2013 12:47:28 Pacho Ramos wrote: |
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 |
> Well, after reading man echo I see all this is not needed, I simply need |
15 |
> to use echo -e to get it understand "\n" to create new lines |
16 |
|
17 |
printf '%b' "${foo}" |
18 |
-mike |