Node.js: How to read the last non-empty line only of a txt file?

后端 未结 0 660
梦谈多话
梦谈多话 2020-12-30 14:06

Let\'s say I have a text file called example.exe that is like this:

Line 1 Stuff
Line 2 Stuff
(more lines here)
Line N (Last Line) Stuf

相关标签:
回答
  • 消灭零回复
提交回复
热议问题