[Toybox] problem with printf %.s

Rich Felker dalias at libc.org
Sat Mar 28 06:44:46 PDT 2015


On Sat, Mar 28, 2015 at 04:21:12AM +0100, isabella parakiss wrote:
> ''printf %.s''  should behave like   ''printf %.s''.
> It currently behaves like ''printf %s''.

To clarify, you mean it should behave like "printf %.0s", right?

> This should produce a 10 characters long line:
> $ toybox printf %.s_ {1..10}
> 1_2_3_4_5_6_7_8_9_10_

Agreed.

Rich

 1427550286.0


More information about the Toybox mailing list