From bd824d94075fbb2813394ec30c51e3adebb697f8 Mon Sep 17 00:00:00 2001 From: Yulij Andreevich Lesov Date: Tue, 5 Jul 2016 02:59:45 -0500 Subject: [PATCH] readability: add newline and comment to generated ftdetect file (#142) --- build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build b/build index e59735a..c3a3b5b 100755 --- a/build +++ b/build @@ -75,7 +75,7 @@ copy_dir() { } concat_ftdetect() { - cat ftdetect/* | grep -E '^[^"]' > tmp/polyglot.vim + for f in ftdetect/*; do (echo '" '"$f"; cat "${f}"; echo) >> tmp/polyglot.vim; done rm -f ftdetect/* mv tmp/polyglot.vim ftdetect/ }