3 ms·
> 'printf "$a%s$b" $y', which is also POSIX compliant, shorter Yes, indeed, thanks for pointing that, it's documented: "The format operand shall be reused as
by acqq 7y ago
> 'printf "$a%s$b" $y', which is also POSIX compliant, shorter
Yes, indeed, thanks for pointing that, it's documented:
"The format operand shall be reused as often as necessary to satisfy the argument operands."
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html https://pubs.opengroup.org/onlinepubs/9699919799/utilities/p...