Subject: Re: Printf builtin missing v flag support
From: Bart Schaefer <[email-masked]>
To: Zsh hackers list <[email-masked]>
Date: Fri, 1 Jan 2016 13:52:24 -0800
List-Id: Zsh Workers List <zsh-workers.zsh.org>

On Jan 1, 10:26pm, Sebastian Gniazdowski wrote:
}
} Will this work for -x and -X?

No, it doesn't.  It's mainly for "printf -v ..."; I only enabled it
for plain "print" as an afterthought.  "print -v" joins the literal
arguments into a string and stores that in the variable.

To make it work with -x, -X, -C, etc. would require moving the memstream
code to the top of the function, plus some related fiddling around later.