#!/bin/sh cd "$(dirname "$1")" exec xtopen -p with-shell-on-error wpdf "$(basename "$1")"