JeffPaine / csvsplit

Split a .csv file into multiple files
MIT License
5 stars 4 forks source link

Better default output file numbering #13

Closed JeffPaine closed 9 years ago

JeffPaine commented 9 years ago

Right now, we auto-append 001, 002, etc. to output filenames. It would be cool to have this zero padding reflect the number of files actually saved (e.g. 01.csv for < 99 files), but I would think that would require us to count (read into memory) all the lines of the file, first.

JeffPaine commented 9 years ago

After more consideration, I think it best to simply to remove all zero padding from output file names. Either we

None of these seem all that desirable right now.