diff options
Diffstat (limited to 'bitbake/doc')
-rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst index e912918aaf..d802a8d353 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | |||
@@ -104,15 +104,15 @@ Line Joining | |||
104 | 104 | ||
105 | Outside of :ref:`functions <bitbake-user-manual/bitbake-user-manual-metadata:functions>`, | 105 | Outside of :ref:`functions <bitbake-user-manual/bitbake-user-manual-metadata:functions>`, |
106 | BitBake joins any line ending in | 106 | BitBake joins any line ending in |
107 | a backslash character ("\") with the following line before parsing | 107 | a backslash character ("\\") with the following line before parsing |
108 | statements. The most common use for the "\" character is to split | 108 | statements. The most common use for the "\\" character is to split |
109 | variable assignments over multiple lines, as in the following example:: | 109 | variable assignments over multiple lines, as in the following example:: |
110 | 110 | ||
111 | FOO = "bar \ | 111 | FOO = "bar \ |
112 | baz \ | 112 | baz \ |
113 | qaz" | 113 | qaz" |
114 | 114 | ||
115 | Both the "\" character and the newline | 115 | Both the "\\" character and the newline |
116 | character that follow it are removed when joining lines. Thus, no | 116 | character that follow it are removed when joining lines. Thus, no |
117 | newline characters end up in the value of ``FOO``. | 117 | newline characters end up in the value of ``FOO``. |
118 | 118 | ||
@@ -125,7 +125,7 @@ Consider this additional example where the two assignments both assign | |||
125 | 125 | ||
126 | .. note:: | 126 | .. note:: |
127 | 127 | ||
128 | BitBake does not interpret escape sequences like "\n" in variable | 128 | BitBake does not interpret escape sequences like "\\n" in variable |
129 | values. For these to have an effect, the value must be passed to some | 129 | values. For these to have an effect, the value must be passed to some |
130 | utility that interprets escape sequences, such as | 130 | utility that interprets escape sequences, such as |
131 | ``printf`` or ``echo -n``. | 131 | ``printf`` or ``echo -n``. |
@@ -159,7 +159,7 @@ behavior:: | |||
159 | C = "qux" | 159 | C = "qux" |
160 | *At this point, ${A} equals "qux bar baz"* | 160 | *At this point, ${A} equals "qux bar baz"* |
161 | B = "norf" | 161 | B = "norf" |
162 | *At this point, ${A} equals "norf baz"\* | 162 | *At this point, ${A} equals "norf baz"* |
163 | 163 | ||
164 | Contrast this behavior with the | 164 | Contrast this behavior with the |
165 | :ref:`bitbake-user-manual/bitbake-user-manual-metadata:immediate variable | 165 | :ref:`bitbake-user-manual/bitbake-user-manual-metadata:immediate variable |