Source

shlomi-fish-homepage / bin / spell-checker-iface.sh

#!/bin/bash
find dest/t2-homepage/ -name '*.html' -or -name '*.xhtml' |
    ( LC_ALL=C sort  ) |
    grep -vP 'dest/t2-homepage/philosophy/obj-oss/objectivism-and-open-source/' |
    grep -vP 'philosophy/foss-other-beasts/revision-2/' |
    grep -vP 'guide2ee/undergrad' |
    grep -vP '(?:humour/TheEnemy/(?:The-Enemy-(?:English-)?rev|TheEnemy))' |
    grep -vP '(?:humour/by-others/(?:English-is-a-Crazy-Language|darien|hitchhiker|how-many-newsgroup-readers|oded-c|s-stands-for-simple|technion-bit-1|top-12-things-likely|was-the-death-star-attack|grad-student-jokes-from-jnoakes|the-fountainhead-starring-skull-force))' |
    grep -vP 'humour/fortunes' |
    grep -vP 'humour/human-hacking/.*arabic' |
    grep -vP 'humour/human-hacking/human-hacking-field-guide/' |
    grep -vP 'humour/human-hacking/hebrew-v2' |
    grep -vP 'humour/humanity/ongoing-text-hebrew' |
    grep -vP 'lecture/Lambda-Calculus/slides/shriram\.scm' |
    grep -vP 'lecture/HTML-Tutorial/v1/xhtml1/hebrew' |
    grep -vP 'js/MathJax/(?:test|docs)/' |
    grep -vP 'dest/t2-homepage/philosophy/computers/high-quality-software/what-makes-software-high-quality' |
    grep -vP 'dest/t2-homepage/philosophy/computers/open-source/linus-torvalds-bus-factor/index' |
    xargs perl bin/html-check-spelling-xmlp.pl |
    grep ':'
    # perl -lne 'print if /MathVentures\/3d.*\.xhtml/' |
exit 0