open-pdf 163 B

12345678910111213
  1. #!/bin/sh
  2. # -*- shell-script -*-
  3. if [ $# -lt 1 ] ; then
  4. echo "open-pdf file"
  5. exit
  6. fi
  7. if [[ -e `which evince` ]] ; then
  8. evince $1
  9. else
  10. xpdf $1
  11. fi