How can I list normal text (.txt) filenames, that don\'t end with a newline?
.txt
e.g.: list (output) this filename:
$ cat a.txt asdfasdlsad4rand
Another option:
$ find . -name "*.txt" -print0 | xargs -0I {} bash -c '[ -z "$(tail -n 1 {})" ] && echo {}'