Re: backquote peculiarities

2019-07-16 Thread astian
Chet Ramey: > On 7/15/19 6:19 PM, astian wrote: > >>> I doubt it makes any difference to the timing, which I think >>> Chet has already answered, but it is worth pointing out that these >>> two commands ... >>> >>> printf '%s\n' "`printf %s "$i"`" >>> printf

Re: backquote peculiarities

2019-07-16 Thread Chet Ramey
On 7/16/19 3:03 PM, astian wrote: > Ah, thanks for the clarification. I wonder if the excerpt below (particularly > the last sentence) would be the relevant wording of POSIX, i.e. that some > shells might interpret the command as the concatenation of a double-quoted > string, the unquoted $i, and

Re: backquote peculiarities (was: Re: Combination of "eval set -- ..." and $() command substitution is slow)

2019-07-16 Thread Chet Ramey
On 7/15/19 6:19 PM, astian wrote: >> I doubt it makes any difference to the timing, which I think >> Chet has already answered, but it is worth pointing out that these >> two commands ... >> >> printf '%s\n' "`printf %s "$i"`" >> printf '%s\n' "$(printf %s

backquote peculiarities (was: Re: Combination of "eval set -- ..." and $() command substitution is slow)

2019-07-15 Thread astian
Robert Elz: > Date:Wed, 10 Jul 2019 17:21:00 + > From:astian > Message-ID: > > I doubt it makes any difference to the timing, which I think > Chet has already answered, but it is worth pointing out that these > two commands ... > > printf '