How can I put 0 before everyline in a txt file?
Solution 1:
Try seq -w
to keep consistent output width.
seq -w 01700 01800
will output 01700, 01701 etc.
As always, man seq
should be your starting point when wondering about seq
. Unix manpages are there for a reason, and very often solve such questions up front.