summaryrefslogtreecommitdiff
path: root/stdin-wrapper
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2016-10-03 17:40:02 +0100
committerw0rp <devw0rp@gmail.com>2016-10-03 17:40:02 +0100
commit552cc7dbc478e855e110fcfa9ff9862db24663a4 (patch)
treeb084981e251daa1e5b84241eb2671c67883445a9 /stdin-wrapper
parent2479111884a034aa6f5230f5d56a70e35092ecbe (diff)
downloadale-552cc7dbc478e855e110fcfa9ff9862db24663a4.zip
Add support for checking Vim code with Vint.
Diffstat (limited to 'stdin-wrapper')
-rwxr-xr-xstdin-wrapper2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdin-wrapper b/stdin-wrapper
index b3f9a2f9..96d08919 100755
--- a/stdin-wrapper
+++ b/stdin-wrapper
@@ -16,7 +16,7 @@ temp_file="$temp_file$file_extension"
trap "rm $temp_file" EXIT
-while read; do
+while read -r; do
echo "$REPLY" >> "$temp_file"
done