Changeset 3 for trunk/docs/manual


Ignore:
Timestamp:
09/25/15 19:00:49 (9 years ago)
Author:
pinsard
Message:

add some supplemental dictionaries

Location:
trunk/docs/manual
Files:
11 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/manual/for_typo/bash.txt

    r2 r3  
     1basename 
     2bashrc 
     3cd 
     4chmod 
     5cp 
     6cpp 
     7csh 
     8diff 
     9env 
     10eval 
     11ghostscript 
     12gmake 
     13grep 
     14hunspell 
    115make 
    2 grep 
    3 basename 
    4 hunspell 
    5 env 
    6 cd 
     16mfdods 
     17mfget 
     18mfls 
     19mfput 
     20mkdir 
     21ncl 
     22nco 
     23ncra 
     24ncrcat 
     25ncview 
     26poe 
     27scp 
     28sdiff 
     29svn 
     30tcsh 
     31ulimit 
     32whoami 
  • trunk/docs/manual/source/developers/guides/typo.rst

    r2 r3  
    6868dictionaries used in an spelling check of all :file:`*.py` via :command:`pylint`. 
    6969 
    70 This supplemental dictionary will also be the base of the one used by 
    71 :command:`hunspell`. 
     70They also will be the base of the one used by :command:`hunspell`. 
     71 
     72They must be encoded in UTF-8. 
    7273 
    7374.. code-block:: bash 
     
    8283   done 
    8384   cat ${PROJECT_LOG}/pyigcmg_doc_var.txt >> ${nontypo} 
    84    sort -u ${nontypo} > ${nontypo_uniq} 
     85   sort --ignore-case -u ${nontypo} > ${nontypo_uniq} 
    8586 
    8687Check typo in Python files 
     
    9899   --reports=n \ 
    99100   ${listf} | grep "Wrong spelling" | awk -F: '{print $3}' | \ 
    100    sort -u > ${PROJECT_LOG}/typo 
     101   sort --ignore-case -u > ${PROJECT_LOG}/typo 
    101102 
    102103.. todo:: 
     
    166167      hunspell -d en_US,nontypo_uniq --check-url -i utf-8 -l < ${onefile} >> ${hunspell_out} 
    167168   done 
    168    sort -u ${hunspell_out} > ${hunspell_uniq_out} 
     169   sort --ignore-case -u ${hunspell_out} > ${hunspell_uniq_out} 
    169170 
    170171.. todo:: 
     
    223224      hunspell -d en_US,nontypo_uniq --check-url -i utf-8 -l < ${onefile} >> ${hunspell_out} 
    224225   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 
     228To 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.