compiler 194 B

123456
  1. #!/bin/sh
  2. case "${1##*.}" in
  3. ms) refer -PS -e -p ~/git/university-documents/bibliography "$1" | pic | groff -ms -mpic -e -k -t -U -T ps > "${1%.*}.ps"
  4. ;;
  5. tex) pdflatex "$1"
  6. esac