Upgrade libgit2
[TortoiseGit.git] / doc / Aspell / aspell.sh
blobb4d0b8ecd2a2ae3167528792b1805dd541f43587
1 #!/bin/bash
2 # parameters
3 # $1 = path to spellcheck executable
4 # $2 = language
5 # $3 = name of the file to check
6 # $4 = name of the logfile
7 echo --- $3 > $4
8 xsltproc --nonet ./Aspell/removetags.xsl "$3" | "$1" --mode=sgml --encoding=utf-8 --add-extra-dicts="./Aspell/$2.pws" --add-extra-dicts=./Aspell/Temp.pws --lang="$2" list check >> "$4"