QGIS/scripts/chkspelling.sh

9 lines
287 B
Bash
Raw Normal View History

#!/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"
egrep --color=always "$RE" resources/context_help/*-en_US