Skip to content

Commit 9afa0ed

Browse files
committed
Add missing newlines
On *nix systems it's a common convention to end a file with an empty newline. It also helps if the newline is present if user wants to simply cat a file in the command line. I used the following one-liner to automatically add newlines in all files that don't have it: $ find . -path ./.git -prune -o -type f -a ! -name .keep -exec sh -c '[[ $(tail -c1 "$1" | wc -l) -gt 0 ]] || echo >> "$1"' sh {} \;
1 parent 17ea446 commit 9afa0ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# note: call scripts from /scripts
1+
# note: call scripts from /scripts

scripts/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ Examples:
88

99
* https://github.com/kubernetes/helm/tree/master/scripts
1010
* https://github.com/cockroachdb/cockroach/tree/master/scripts
11-
* https://github.com/hashicorp/terraform/tree/master/scripts
11+
* https://github.com/hashicorp/terraform/tree/master/scripts

0 commit comments

Comments
 (0)