Ensure all source code end with one and only one newline

by this command:
git ls-files -z | while IFS= read -rd '' f; do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
This commit is contained in:
Xiang Xiao 2020-02-07 21:31:07 +08:00 committed by Gregory Nutt
parent 4a13a0893f
commit 779197c63e
12 changed files with 12 additions and 11 deletions

View File

@ -0,0 +1 @@