diff runtime/spell/pt/main.aap @ 2551:5e4b1f442057 vim73

Runtime file updates.
author Bram Moolenaar <bram@vim.org>
date Fri, 13 Aug 2010 14:38:12 +0200
parents 4b51e4be14ab
children 82a28df1e2d5
line wrap: on
line diff
--- a/runtime/spell/pt/main.aap
+++ b/runtime/spell/pt/main.aap
@@ -59,7 +59,8 @@ pt_PT.aff pt_PT.dic: {buildcheck=}
         :delete {f} description.xml
         :delete {f} dictionaries.xcu
         :delete {f} LICENSES.txt
-        :sys $VIM pt_PT.dic -u NONE -e -c "%s/\t.*//" -c update -c q
+        # Remove grammer items and the duplicates this causes
+        :sys $VIM pt_PT.dic -u NONE -e -c "%s/\t.*//" -c "2,$$ sort u" -c update -c q
         :sys $VIM pt_PT.aff -u NONE -e -c "%s/\S\+=\S\+$$//" -c update -c q
         @if not os.path.exists('pt_PT.orig.aff'):
             :copy pt_PT.aff pt_PT.orig.aff