On Fri, 19 Oct 2018 at 11:03, Cristian Ionescu-Idbohrn <cristian.ionescu-idbo...@axis.com> wrote: > > The documentation on this page: > > http://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html > > (search for 'ISO/IEC 646:1991') shows this example: > > printf "%d\n" 3 +3 -3 \'3 \"+3 "'-3" > > busybox ash can't handle the '+3' argument (tested with v1.30.0.git, > v1.27.2 and v1.22.1): > > $ printf "%d\n" +3 > ash: invalid number '+3' > 0 > > dash v0.5.10.2 can: > > $ printf "%d\n" +3 > 3
right. Also "%d" ' 42' was moaning about the leading whitespace. 3db4e7f84cf795de8559ea0d96eaa491999ccf24 Thanks for mentioning! cheers, _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox