This is an automated change & the command used is: find -name '*.signatures.json' -exec sh -c '[ -n "$(tail -c1 {})" ] && echo >> {}' \; Reference: https://stackoverflow.com/a/729795 Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>