nferraz / st

simple statistics from the command line
MIT License
924 stars 69 forks source link

Make the data file parser more flexible.. #10

Closed VicoWu closed 11 years ago

VicoWu commented 11 years ago

Well ,why not write several lines of code to make it more robust to parse the data file?, no matter we have one or more numbers per line ,No matter the number is splited by /n,/s,/t ,/r ,comma ,we can parse it.

The data file is showed as belows: qq20130917111204

For this file ,st should be able to parse it to 1,2,3,4,5,five numbers!