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
Ok it's my turn, I give it a try:
find . -type f -print0 | xargs -0 -L1 bash -c 'test "$(tail -c 1 "$0")" && echo "No new line at end of $0"'