QGIS/scripts/chkspelling.sh
jef d11349c14a fix common typos
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12528 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-20 12:29:07 +00:00

8 lines
229 B
Bash
Executable File

#!/bin/bash
RE=$(echo $(cut -d: -f1 scripts/spelling.dat | sed -e 's/^/\\</; s/$/\\>|/;') | sed -e 's/| /|/g; s/|$//;')
EX="\.(svn-base|tmp|xpm|ts)|context_help|spelling\.dat"
egrep --color=always "$RE" -r . | egrep -v "$EX"