Changeset 9


Ignore:
Timestamp:
10/05/15 18:40:19 (9 years ago)
Author:
pinsard
Message:

add some supplemental dictionaries; more human readable result

Location:
trunk/docs/manual
Files:
12 added
7 edited

Legend:

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

    r4 r9  
     1awk 
     2Bourne 
    13basename 
    24bashrc 
  • trunk/docs/manual/for_typo/computers.txt

    r3 r9  
    44adapp 
    55asterix 
     6aix6 
     7ALTIX 
    68BlueGene 
    79BullCurie 
     
    2022gaya 
    2123OBELIX 
     24obelix 
     25Occigen 
     26occigen 
    2227Sandybridge 
    2328SX9 
  • trunk/docs/manual/for_typo/institution.txt

    r3 r9  
    2020LSCE 
    2121maisondelasimulation 
     22maison 
    2223metoffice 
    2324noaa 
  • trunk/docs/manual/for_typo/people.txt

    r8 r9  
    99caubel 
    1010Cozic 
    11 Céline 
    12 Déandreis 
     11Céline 
     12Déandreis 
     13Lefèvre 
     14Carenton 
     15Carslaw 
     16Bekki 
    1317Denvil 
    1418esci 
     
    1721Foujols 
    1822francoise 
    19 Françoise 
     23Françoise 
    2024Ghattas 
    2125Idelkadi 
    2226Josefine 
    23 ©rôme 
     27ƒÂƒÃ‚©rôme 
    2428Kageyama 
    2529Labetoulle 
     
    2731Marchand 
    2832Masa 
     33Marti 
    2934matsuno 
     35Meurdesoif 
    3036Olagnon 
     37Pascale 
     38Pinsard 
     39pinsard 
    3140Servonnat 
    3241Slimane 
    3342Szopa 
    34 Sébastien 
     43Sébastien 
    3544Yann 
    36 Ã‰thé 
     45Éthé 
  • trunk/docs/manual/for_typo/tools.txt

    r4 r9  
    1 pyint 
     1imagemagick 
     2pylint 
    23docutils 
    34graphviz 
  • trunk/docs/manual/for_typo/trac.txt

    r3 r9  
     1changeset 
    12edgewall 
     3endif 
    24Timeline 
    35TitleIndex 
  • trunk/docs/manual/source/developers/guides/typo.rst

    r8 r9  
    5252      cat ${onefile} >> ${nontypo} 
    5353   done 
    54    sort -u ${nontypo} > ${nontypo_uniq} 
     54   sort -u ${nontypo} | sort --ignore-case > ${nontypo_uniq} 
    5555 
    5656The list ${nontypo_uniq} can also be used to check for typo in 
     
    124124   listf=$(find ${dirhtml} -name "Doc*") 
    125125   hunspell_out=${PROJECT_LOG}/hunspell_out 
    126    hunspell_uniq_out=${PROJECT_LOG}/hunspell_uniq_out 
    127    rm -f ${hunspell_out}  ${hunspell_uniq_out} 
     126   hunspell_out_uniq=${PROJECT_LOG}/hunspell_out_uniq 
     127   rm -f ${hunspell_out}  ${hunspell_out_uniq} 
    128128   for onefile in ${listf} 
    129129   do 
    130       LANG=POSIX;hunspell -d en_US,nontypo_uniq --check-url -i utf-8 -l < ${onefile} >> ${hunspell_out} 
     130      LC_ALL=C;hunspell -d en_US,nontypo_uniq --check-url -i utf-8 -l < ${onefile} >> ${hunspell_out} 
    131131   done 
    132    sort -u ${hunspell_out} > ${hunspell_uniq_out} 
     132   sort -u ${hunspell_out} | sort --ignore-case > ${hunspell_out_uniq} 
    133133 
    134134.. warning:: 
    135135 
    136    side effect of LANG=POSIX; 
    137    how to avoid LANG change after execution execution 
     136   side effect of LC_ALL=C; 
     137   how to avoid LC_ALL change after execution execution 
    138138 
    139 :file:`${hunspell_uniq_out}` contains : 
     139:file:`${hunspell_out_uniq}` contains : 
    140140 
    141141- typo to be fixed in wiki pages 
     
    146146.. warning:: 
    147147 
    148    The following command print only lines present in both ${hunspell_uniq_out} ${nontypo_uniq}. 
     148   The following command print only lines present in both ${hunspell_out_uniq} ${nontypo_uniq}. 
    149149 
    150150   .. code-block :: bash 
    151151 
    152       comm -12 ${hunspell_uniq_out} ${nontypo_uniq} 
     152      comm --nocheck-order -12 ${hunspell_out_uniq} ${nontypo_uniq} 
    153153 
    154154   If not empty, the supplemental dictionary has not being used by :command:`hunspell` 
     
    162162.. code-block:: bash 
    163163 
    164    w=amonch # take a real one from ${hunspell_uniq_out} 
     164   w=amonch # take a real one from ${hunspell_out_uniq} 
    165165   find ${dirhtml} -name "Doc*" -exec grep -Hi ${w} {} \; 
    166166 
Note: See TracChangeset for help on using the changeset viewer.