diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2015-06-06 19:48:25 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-06-08 00:55:07 +0200 |
commit | 52648623e03e6769ae73ef8ee999d671fb657d62 (patch) | |
tree | 2e0c7675c40463cb7864b0b119e50eeadf892a78 /util/lint/lint-stable-003-whitespace | |
parent | 4ba3b79537008b4d2448848901212cf2251188d1 (diff) |
Remove empty lines at end of file
Used command line to remove empty lines at end of file:
find . -type f -exec sed -i -e :a -e '/^\n*$/{$d;N;};/\n$/ba' {} \;
Change-Id: I816ac9666b6dbb7c7e47843672f0d5cc499766a3
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: http://review.coreboot.org/10446
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/lint/lint-stable-003-whitespace')
-rwxr-xr-x | util/lint/lint-stable-003-whitespace | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/util/lint/lint-stable-003-whitespace b/util/lint/lint-stable-003-whitespace index 819ef63034..3f600407cc 100755 --- a/util/lint/lint-stable-003-whitespace +++ b/util/lint/lint-stable-003-whitespace @@ -21,4 +21,3 @@ LC_ALL=C export LC_ALL grep -l "[[:space:]][[:space:]]*$" `git ls-files src util |egrep -v "(^3rdparty|^src/vendorcode/|^util/kconfig/|^util/nvidia/cbootimage$|\<COPYING\>|\<LICENSE\>|\<README\>|_shipped$|\.patch$|\.bin$|\.hex$)"` | \ sed -e "s,^.*$,File & has lines ending with whitespace.," - |