in reply to printf with variable display width
The equivalent would then be:
printf "%*d", $a, $b; [download]
-QM -- Quantum Mechanics: The dreams stuff is made of