Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash zero padding

for i in $(seq -f "%05g" 10 15)
do
  echo $i
done
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #padding
ADD COMMENT
Topic
Name
4+2 =