If previous line ends with whitespace, or next line starts with whitepsace we need to preserve a space otherwise things line: RUN echo\ hello will appear as: RUN echohello Noticed this while looking at #5744 because he had lines ending in &&\ Signed-off-by: Doug Davis <dug@us.ibm.com> Upstream-commit: f440c6b2246cc4cfac4c5d351172e209dca2c765 Component: engine
10 lines
271 B
Plaintext
10 lines
271 B
Plaintext
(from "ubuntu:14.04")
|
|
(run "echo hello world goodnight moon lightning")
|
|
(run "echo hello world")
|
|
(run "echo hello world")
|
|
(run "echo hello goodbyefrog")
|
|
(run "echo hello \\")
|
|
(run "echo hi world goodnight")
|
|
(run "echo goodbyefrog")
|
|
(run "echo goodbyefrog")
|