Sign in
apache
/
fluo-muchos
/
8f064c46b7bff2cff70dee45eed72190f97040ef
/
.
/
scripts
/
checkMissingEOF
blob: bf479cde0cd867668a5c0aab92a816576af71774 [
file
] [
log
] [
blame
]
#!/usr/bin/env bash
if
grep
--
quiet
--
files
-
with
-
matches
--
binary
-
files
=
without
-
match
--
max
-
count
=
1
--
regexp
=
'.*'
"$1"
;
then
if
[
"$(tail --bytes=1 "
$1
")"
];
then
echo
"ERROR: No new line at end of $1."
;
false
;
fi
fi