From 91aeae74f2d9b6bec5187794dafbae22a675669d Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 30 Jun 2004 10:01:05 +0000 Subject: 20112: Forgot this bit. --- Test/A04redirect.ztst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Test/A04redirect.ztst b/Test/A04redirect.ztst index bf0d23a13..e4e8783f9 100644 --- a/Test/A04redirect.ztst +++ b/Test/A04redirect.ztst @@ -50,10 +50,34 @@ 0:Here-documents stripping tabs >barbar + cat <<-$'$HERE '`$(THERE) `'$((AND)) '"\EVERYWHERE" +# tabs again. sorry about the max miller. + Here's a funny thing. Here is a funny thing. + I went home last night. There's a funny thing. + Man walks into a $foo. Ouch, it's an iron $foo. + $HERE `$(THERE) `$((AND)) \EVERYWHERE +0:Here-documents don't perform shell expansion on the initial word +>Here's a funny thing. Here is a funny thing. +>I went home last night. There's a funny thing. +>Man walks into a $foo. Ouch, it's an iron $foo. + + cat <<-$'\x45\x4e\x44\t\x44\x4f\x43' +# tabs again + This message is unfathomable. + END DOC +0:Here-documents do perform $'...' expansion on the initial word +>This message is unfathomable. + cat <<<"This is a line with a $foo in it" 0:'<<<' redirection >This is a line with a bar in it + cat <<<$'a\nb\nc' +0:here-strings with $'...' quoting +>a +>b +>c + exec 3>redir && print hello >&3 && print goodbye >&3 && cat redir 0:'>&' redirection >hello -- cgit 1.4.1