Changeset 3 for trunk/docs/manual/source/developers/guides
- Timestamp:
- 09/25/15 19:00:49 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/manual/source/developers/guides/typo.rst
r2 r3 68 68 dictionaries used in an spelling check of all :file:`*.py` via :command:`pylint`. 69 69 70 This supplemental dictionary will also be the base of the one used by 71 :command:`hunspell`. 70 They also will be the base of the one used by :command:`hunspell`. 71 72 They must be encoded in UTF-8. 72 73 73 74 .. code-block:: bash … … 82 83 done 83 84 cat ${PROJECT_LOG}/pyigcmg_doc_var.txt >> ${nontypo} 84 sort - u ${nontypo} > ${nontypo_uniq}85 sort --ignore-case -u ${nontypo} > ${nontypo_uniq} 85 86 86 87 Check typo in Python files … … 98 99 --reports=n \ 99 100 ${listf} | grep "Wrong spelling" | awk -F: '{print $3}' | \ 100 sort - u > ${PROJECT_LOG}/typo101 sort --ignore-case -u > ${PROJECT_LOG}/typo 101 102 102 103 .. todo:: … … 166 167 hunspell -d en_US,nontypo_uniq --check-url -i utf-8 -l < ${onefile} >> ${hunspell_out} 167 168 done 168 sort - u ${hunspell_out} > ${hunspell_uniq_out}169 sort --ignore-case -u ${hunspell_out} > ${hunspell_uniq_out} 169 170 170 171 .. todo:: … … 223 224 hunspell -d en_US,nontypo_uniq --check-url -i utf-8 -l < ${onefile} >> ${hunspell_out} 224 225 done 225 sort -u ${hunspell_out} > ${hunspell_uniq_out} 226 227 Correction have to be done via the wiki interface of the forge. 226 sort --ignore-case -u ${hunspell_out} > ${hunspell_uniq_out} 227 228 To find one of the wrong spelling in downloaded HTML pages: 229 230 .. code-block:: bash 231 232 w=amonch 233 find ${dirhtml} -name "Doc*" -exec grep -Hi ${w} {} \; 234 235 .. warning: 236 237 Correction have to be done via the wiki interface of the forge.
Note: See TracChangeset
for help on using the changeset viewer.