bug#22803: bash printf and negative precision

2018-10-25 Thread Assaf Gordon
tags 22803 notabug close 22803 stop (triaging old bugs) On Thu, Feb 25, 2016 at 07:18:24AM +, Billerbeck, Dirk wrote: > Hello, > > I don't know if it's really a bug, if I'm just mistaken or this is the right > address but I just want to give it a try. > > I'm using the following

bug#22803: bash printf and negative precision

2016-02-25 Thread Billerbeck, Dirk
Hello, I don't know if it's really a bug, if I'm just mistaken or this is the right address but I just want to give it a try. I'm using the following bash-builtin printf command: FUELLLAENGE=8 ; report="REPIBZVAG" ; REPORTFUELLZEICHEN="0" ; printf '%.8s%*.*d\n' $report 0 $((FUELLLAENGE -