Giter VIP home page Giter VIP logo

timecat's Issues

Absence of new line character at the end of file may cause failure

timecat fails in the following situation:
timecat -s '2016-10-16 11:00:02' -e '2800-10-16 11:00:00' x.log

The following is the x.log(no new line at the end of file!):

2016-10-16 11:00:00 this is record 0
2016-10-16 11:00:01 this is record 1
2016-10-16 11:00:21 this is record 2
2016-10-16 11:03:02 this is record 3
2016-10-16 11:03:05 this is record 4
2016-10-16 11:05:01 this is record 5
2016-10-16 11:06:10 this is record 6
2016-10-16 12:15:30 this is record 7
2016-10-16 12:30:35 this is record 8
2016-10-16 20:18:06 this is record 9
2016-10-16 21:00:00 this is record 10
2016-10-16 23:59:59 this is record 11
2016-10-17 00:00:00 this is record 12
2016-10-17 01:50:10 this is record 13
2016-10-17 08:31:34 this is record 14
2016-10-18 17:10:10 this is record 15
2016-10-18 18:20:50 this is record 16
2016-10-19 03:15:40 this is record 17
2016-10-19 03:15:40 this is record 18
2016-10-20 10:00:00 this is record 19

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.