Skip to content

Instantly share code, notes, and snippets.

@horimislime
Created August 11, 2012 22:31
Show Gist options
  • Save horimislime/3327614 to your computer and use it in GitHub Desktop.
Save horimislime/3327614 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