[Toybox] problem with printf %.s
isabella parakiss
izaberina at gmail.com
Sat Mar 28 10:17:32 PDT 2015
On 3/28/15, Rich Felker <dalias at libc.org> wrote:
> 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
>
Ah yes I meant like ''%.0s''. That was a typo, sorry.
---
xoxo iza
1427563052.0
More information about the Toybox
mailing list