Question : linux printf leading zeros
Answered by : guillaume-bouvier
foo=$(printf "%02d" 5)
Source : https://stackoverflow.com/questions/18460123/how-to-add-leading-zeros-for-for-loop-in-shell | Last Update : Wed, 23 Feb 22
Answered by : guillaume-bouvier
foo=$(printf "%02d" 5)
Source : https://stackoverflow.com/questions/18460123/how-to-add-leading-zeros-for-for-loop-in-shell | Last Update : Wed, 23 Feb 22