Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Evaluating parameters in general-purpose widgets



On Thu, Jan 18, 2018 at 10:25 PM, Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote:
> use "${$(print -nr -- "$foobar"X)#X}"

That should say %X of course.  Also meant to point out that
adding/removing the trailing "X" is to force newlines to be kept in
$(...).



Messages sorted by: Reverse Date, Date, Thread, Author