Changeset 3
- Timestamp:
- 09/25/15 19:00:49 (9 years ago)
- Location:
- trunk/docs/manual
- Files:
-
- 11 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/manual/for_typo/bash.txt
r2 r3 1 basename 2 bashrc 3 cd 4 chmod 5 cp 6 cpp 7 csh 8 diff 9 env 10 eval 11 ghostscript 12 gmake 13 grep 14 hunspell 1 15 make 2 grep 3 basename 4 hunspell 5 env 6 cd 16 mfdods 17 mfget 18 mfls 19 mfput 20 mkdir 21 ncl 22 nco 23 ncra 24 ncrcat 25 ncview 26 poe 27 scp 28 sdiff 29 svn 30 tcsh 31 ulimit 32 whoami -
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.