Skip to content

Instantly share code, notes, and snippets.

@horimislime
Created April 15, 2012 09:03
Show Gist options
  • Save horimislime/2391335 to your computer and use it in GitHub Desktop.
Save horimislime/2391335 to your computer and use it in GitHub Desktop.
Gitからlatexdiffするためのシェルスクリプト
#!/bin/bash
case $2 in
contents/*.tex)
latexdiff -e utf8 "$1" "$2" > "$2".diff
echo Finished writing diff to "$2".diff
;;
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment