ゼロ埋めしたい 投稿日 2019/07/19 投稿者 rengotaku 1 分で読めます printf "%0Xd\n" を使用する$ printf "%05d\n" 99 00099 numbers - How to zero pad a sequence of integers in bash so that all have the same width? - Stack Overflow devtools shell linux シェア