パディングが 0 のシーケンス番号の巨大なリストを生成しようとしています
for example:
00000000
00000001
00000002
.
.
99999997
99999998
99999999
私は次のようなことを試みています:
for i in $(seq 00000000 99999999);do echo ${i} >> filelist.txt;done
これには 2 つの問題があります。
1: the range is too big and the system cant handle it
2: the numbers arent padded so I end up with something like this:
1
2
3
.
.
998
999
1000
どんな助けでも大歓迎です..