I have a huge number of source files that are all lacking a newline at the end.
How do I automatically add a newline to the end of each of them?
Some may alr
After finding the tool do this job with no luck. I decide to write my own
This is my python script to do that job
It only append (\r\n) to file not contains (\n) at the end of file
https://github.com/tranhuanltv/append_newline
Usage: append_newline.py .c ./projects ./result_dir
Make Pull Requests if you want to