Closed sebastinas closed 5 months ago
On GitLab by @user202729 on Jan 21, 2023, 04:50
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.
1$PAGE3.pdf
exec some-command $FILE
123.pdf
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.
$FILE
$PAGE
mentioned in commit ca80f7344948eec1a2842b1af43505a33d9bea15
On GitLab by @user202729 on Jan 21, 2023, 04:50
As mentioned in the title, if some file has name for example
1$PAGE3.pdf
thenexec some-command $FILE
will pass123.pdf
tosome-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.