about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-06-30 10:01:05 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-06-30 10:01:05 +0000
commit91aeae74f2d9b6bec5187794dafbae22a675669d (patch)
tree750bcbf25618a96b4be86962318c3b987dc7c00a
parent7f26993e99cccf2d56958643b8eb369625f04726 (diff)
downloadzsh-91aeae74f2d9b6bec5187794dafbae22a675669d.tar.gz
zsh-91aeae74f2d9b6bec5187794dafbae22a675669d.tar.xz
zsh-91aeae74f2d9b6bec5187794dafbae22a675669d.zip
20112: Forgot this bit.
-rw-r--r--Test/A04redirect.ztst24
1 files changed, 24 insertions, 0 deletions
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