Adding Leading Zero in Bash

F.J.Zhao fuziok at gmail.com
Sun Oct 22 11:09:50 UTC 2006


In bash, 0{1,2,3,4,5,6,7,8,9} is equal to 01 02 03 04 05 06 07 08 09.

2006/10/22, OOzy Pal <oozypal at gmail.com>:
> How can I add a leading zero to numbers that are from 1 to 9 to be 01,
> 02. . .,09?
>
> --
> OOzy
> Kubuntu-Dapper
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>




More information about the ubuntu-users mailing list