#!/bin/sh # # This script lets you open an URL with Acrobat Reader. # # Copyright (C) 2006-2007 Lars Engels # Use and distribute under BSD license. # usage() { echo -e "Usage:\n`basename $0` " exit 1 } if [ $# -ne 1 ]; then usage exit 1 fi TMPFILE=`mktemp /tmp/acrowrapper-XXXXXXXX` || exit 1 fetch -o $TMPFILE -a "$1" acroread $TMPFILE rm $TMPFILE exit 0