From d0f552bd4de3565cf20e408390b97ed66762dfd4 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sun, 25 Oct 2020 16:24:31 +0100 Subject: scripts/fix_typos.sh: adjust qgis.txt for our script --- scripts/fix_typos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fix_typos.sh b/scripts/fix_typos.sh index 152ba550..ceb5ad6f 100755 --- a/scripts/fix_typos.sh +++ b/scripts/fix_typos.sh @@ -36,7 +36,7 @@ if ! test -d fix_typos; then git clone https://github.com/rouault/codespell (cd codespell && git checkout gdal_improvements) # Aggregate base dictionary + QGIS one + Debian Lintian one - curl https://raw.githubusercontent.com/qgis/QGIS/master/scripts/spell_check/spelling.dat | sed "s/:/->/" | grep -v "colour->" | grep -v "colours->" > qgis.txt + curl https://raw.githubusercontent.com/qgis/QGIS/master/scripts/spell_check/spelling.dat | sed "s/:/->/" | sed "s/:%//" | grep -v "colour->" | grep -v "colours->" > qgis.txt curl https://salsa.debian.org/lintian/lintian/-/raw/master/data/spelling/corrections | grep "||" | grep -v "#" | sed "s/||/->/" > debian.txt cat codespell/data/dictionary.txt qgis.txt debian.txt | awk 'NF' > gdal_dict.txt echo "difered->deferred" >> gdal_dict.txt -- cgit v1.2.3