thanks Peter, for my use case it actually works really nice this way. I was hoping for something that wouldn't allow arbitrary command execution for future uses, but I guess that would need a proper templating system of sorts best regards Pier Paolo Grassi linkedin: https://www.linkedin.com/in/pier-paolo-grassi-19300217 founder: https://www.meetup.com/it-IT/Machine-Learning-TO Il giorno mar 30 lug 2019 alle ore 16:24 Peter Stephenson < p.stephenson@samsung.com> ha scritto: > On Tue, 2019-07-30 at 15:15 +0100, Peter Stephenson wrote: > > The nearest I can think of is: > > > > print -r -- "${(e):-$a}" > > Or, actually, a straight > > print -r -- "${(e)a}" > > since you don't need to add any text to the variable substitution. > > pws > > >