1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 16:50:58 +01:00

37467: add "print -v var" / "printf -v var"

This commit is contained in:
Barton E. Schaefer 2015-12-31 12:38:10 -08:00
parent 4f5d7b7b37
commit 15b73ea99b
4 changed files with 47 additions and 11 deletions

View file

@ -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-