I have a shell script that converts a .md file to .pdf using pandoc.
When executing the script for example:
./script *file.md
it doesn't detect the files needed to be converted because they resemble this:
-first-file.md
second _ file.md
First one starts with a dash. Second one had an underscore in between spaces in the center.