[bitbake-devel] [PATCH] bitbake: bitbake-user-manual-metadata: fix wrong option to 'echo' comamnd in example

Lothar Waßmann LW at KARO-electronics.de
Tue Mar 20 15:03:28 UTC 2018


The original text reads:
| For these to have an effect, the value must be passed
| to some utility that interprets escape sequences,
| such as printf or echo -n.

The '-n' option tells echo to not append a newline to the output.
What's meant here is the '-e' option to "enable interpretation of
backslash escapes".

Signed-off-by: Lothar Waßmann <LW at KARO-electronics.de>
---
 bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
index 0cfa53d..abdbd54 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
@@ -98,7 +98,7 @@
                     For these to have an effect, the value must be passed
                     to some utility that interprets escape sequences,
                     such as <filename>printf</filename> or
-                    <filename>echo -n</filename>.
+                    <filename>echo -e</filename>.
                 </note>
             </para>
         </section>
-- 
2.1.4




More information about the bitbake-devel mailing list