about summary refs log tree commit diff
path: root/Test/B03print.ztst
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2015-12-31 12:38:10 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2015-12-31 12:38:10 -0800
commit15b73ea99b7e156dc9281d89a68fea8fae76706b (patch)
treed82547f252138b27a1de9edd19b06e41d47548c1 /Test/B03print.ztst
parent4f5d7b7b378e6fe93de19a600717deaab7a76116 (diff)
downloadzsh-15b73ea99b7e156dc9281d89a68fea8fae76706b.tar.gz
zsh-15b73ea99b7e156dc9281d89a68fea8fae76706b.tar.xz
zsh-15b73ea99b7e156dc9281d89a68fea8fae76706b.zip
37467: add "print -v var" / "printf -v var"
Diffstat (limited to 'Test/B03print.ztst')
-rw-r--r--Test/B03print.ztst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Test/B03print.ztst b/Test/B03print.ztst
index eb79c4ddb..2e9bf99e5 100644
--- a/Test/B03print.ztst
+++ b/Test/B03print.ztst
@@ -301,3 +301,12 @@
 >one two three   four
 >    one two three   four
 >        one     two     three       four
+
+ unset foo
+ print -v foo once more
+ print -r -- $foo
+ printf -v foo "%s-" into the breach
+ print -r -- $foo
+0:print and printf into a variable
+>once more
+>into-the-breach-