xdg-open (interpreted by /bin/sh) contains this line: file="$(printf "$(echo "$file" | sed -e 's@%\([a-f0-9A-F]\{2\}\)@\\x\1@g')")" This syntax is for bash, and not for the regular shell. It fails on FreeBSD, where sh!=bash (unlike on linux) This line should be fixed to work with the regular shell. xdg-utils-1.0.2.20130919
Created attachment 118232 [details] [review] xdg-open-printf.diff Here's a patch from Debian that fixes the bug.
Commited, thanks. http://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=b45d91da777d0809f8b9f87e99c858558b13b0e1
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.