From f7519811e1bbe990ff1c3d499ffb70cfc2d034f8 Mon Sep 17 00:00:00 2001 From: Ricardo Giorni Date: Sun, 29 Apr 2018 12:05:39 -0700 Subject: 47201: fix 42355 for multiple backslashes --- Test/A04redirect.ztst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'Test') diff --git a/Test/A04redirect.ztst b/Test/A04redirect.ztst index b5b65cf5d..1e17dddd4 100644 --- a/Test/A04redirect.ztst +++ b/Test/A04redirect.ztst @@ -174,6 +174,30 @@ >some stuff >to test >tab\stripping +>Last line + + heretest() { + print First line + cat <<-HERE + $foo\\ + $foo + some\\ \ + stuff + to\ + test \\ + more backslash craziness\\\\\\\\\ + wild + HERE + print Last line + } + heretest +0:No line continuation in here-document on escaped backslash +>First line +>bar\ +>bar +>some\ stuff +>to test \ +>more backslash craziness\\\\ wild >Last line # -- cgit 1.4.1