"$PAGE" string in file name get replaced with the page number in `:exec` command
As mentioned in the title, if some file has name for example 1$PAGE3.pdf
then exec some-command $FILE
will pass 123.pdf
to some-command
.
Side note, I think the issue is with https://git.pwmt.org/pwmt/zathura/-/blob/develop/zathura/commands.c#L559 which replaces $FILE
before replacing $PAGE
. Reversing the replacement order would fix the issue.