File: README

package info (click to toggle)
openms 2.4.0-real-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 646,136 kB
  • sloc: cpp: 392,260; xml: 215,373; python: 10,976; ansic: 3,325; php: 2,482; sh: 901; ruby: 399; makefile: 141; perl: 85
file content (18 lines) | stat: -rw-r--r-- 934 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

# Include directory
find src/openms/include/ | xargs perl tools/spellcheck/lspell2.pl /dev/null   | cut -f 2 -d ":" |  sed -e 's/^[ \t]*//' | sort -f | uniq > stop1.txt
cat stop1.txt tools/spellcheck/correct_words.txt > stop2.txt
find  ./src/openms/include/OpenMS/ | xargs perl tools/spellcheck/lspell.pl stop2.txt > badwords

# Documentation directory
find src/openms/include/ src/openms/source/ | xargs \
  perl tools/spellcheck/lspell2.pl /dev/null | cut -f 2 -d ":" | sed -e 's/^[ \t]*//' | sort -f | uniq > stop1_large.txt
cat stop1_large.txt tools/spellcheck/correct_words.txt > stop2_large.txt
find  ./doc/ | grep -v "doxygen.images" | grep -v png | xargs  \
  perl tools/spellcheck/lspell.pl stop2_large.txt  > badwords_doxygen

# Source directory
# GzipIfstream contains many funny crc codes
find  ./src/openms/source/ | grep -v GzipIfstream |  xargs  \
  perl tools/spellcheck/lspell.pl stop2_large.txt  > badwords_source