Laslo Hunhold <[email protected]> schrieb am So., 28. Aug. 2022, 19:30:

> On Sun, 28 Aug 2022 18:33:21 +0200
> Quentin Rameau <[email protected]> wrote:
>
> > > +function returns the number of $(printf $UNIT)s in the array
> > > resulting
> >                                   ^-- But… Why?!
>
> Doesn't work otherwise in the heredoc. If I write $UNITs it doesn't
> interpret it correctly, so I reformulate it as a subshell-expression.
> It's not elegant, but works. Is there a better way to address this?
>

Does "${UNIT}s" not work in a heredoc?

>

Reply via email to