I need to use Pandoc with absolute input and output paths in a shell script, like so: #!/bin/bash for f in "/users/myname/desktop/test/input/"*.md; \ do \ pandoc "$f" \ --standalone \ -o "/users/myname/desktop/test/output/"${f%.md}.htm; \ done … which gives an error: /users/myname/desktop/test/output//users/myname/desktop/test/input/1.htm: openFile: does not exist (No such file or directory) (Removing the output path will render the files in the source directory, as expected.) I realise the problem is probably my limited understanding of how the shell works, not something with Pandoc. I still hope someone here can help. Thank you. -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/78489a20-5148-4826-ab6a-b43fa48938d4n%40googlegroups.com.