I don't know if this is related, but I've had some trouble competing filenames in `zsh` on macOS using `bashcompinit` and `pandoc --bash-completion`. When filenames contain spaces, I can tab-complete them if the filename is quoted, but not if the spaces are escaped with backslashes. Perhaps whatever pandoc does to enable filename completion is not general enough. However, I don't know shell programming well enough to suggest what might be wrong or how to fix it.
On July 18, 2023 10:06:41 PM EDT, H <age...-FcZObrvlYduBUy7/sJONFg@public.gmane.org> wrote:
>On July 18, 2023 7:22:40 PM EDT, John MacFarlane
><fiddlo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>>I'm not sure what you mean by "expand file names."
>>Are you talking about tab-completion? That is not done by pandoc but
>>by the shell.
>>
>>> On Jul 18, 2023, at 3:49 PM, H <age...-FcZObrvlYduBUy7/sJONFg@public.gmane.org> wrote:
>>>
>>> Running 3.1.2 on CentOS7 and found that the CLI does not expand file
>>names correctly. It fails to expand file names containing 'ä' -
>>possibly others as well that I have not tested.
>>>
>>> Is this a known bug?
>>>
>>> --
>>> 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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>>> To view this discussion on the web visit
>>https://groups.google.com/d/msgid/pandoc-discuss/2b0984b1-a157-eb8a-0e1e-8f10c4d8473e%40meddatainc.com.
>
>Yes, you are correct, tab-completion. It works correctly outside
>pandoc.
Let me double-check tomorrow to make sure.