The examples were found by ```bash $ find . -type d '!' -exec test -e "{}/README.md" ';' -print ```
The commands find . -type f -name '*.md' -exec sed --in-place 's/[[:space:]]\+$//' {} \+ and find . -type f -name '*.tex' -exec sed --in-place 's/[[:space:]]\+$//' {} \+ were used to do so.