Source

shlomi-fish-homepage / bin / t2_html_spell_check.bash

Diff from to

bin/t2_html_spell_check.bash

 
 old_find_quotes_filter()
 {
-    grep -vP '(catb-heb|WebMetaLecture/slides/examples|t2-homepage/rewrite\.html|humour/by-others/|humour/bits/COBOL-the-New-Age|humour/bits/Mastering-Cat|humour/fortunes/nyh-sigs|humour/fortunes/sharp-perl|humour/fortunes/sharp-programming|humour/fortunes/|humour/human-hacking/arabic-v2|humour/human-hacking/human-hacking-field-guide/|humour/human-hacking/human-hacking-field-guide-v2-arabic/|humour/TheEnemy/TheEnemy_eng\.html|humour/TheEnemy/The-Enemy-English-rev4\.html|humour/TheEnemy/The-Enemy-English-rev5\.html|humour/TheEnemy/The-Enemy-English-rev6\.html|humour/TheEnemy/The-Enemy-English-v7/|humour/TheEnemy/The-Enemy-Hebrew-v7\.html|humour/TheEnemy/The-Enemy-English-v7\.html|humour/TheEnemy/TheEnemy\.html|humour/TheEnemy/The-Enemy-rev[456]\.html|me/resumes/Shlomi-Fish-Heb-Resume\.html)' | 
+    grep -vP '(catb-heb|WebMetaLecture/slides/examples|t2-homepage/rewrite\.html|humour/by-others/|humour/bits/COBOL-the-New-Age|humour/bits/Mastering-Cat|humour/fortunes/nyh-sigs|humour/fortunes/sharp-perl|humour/fortunes/sharp-programming|humour/fortunes/|humour/human-hacking/arabic-v2|humour/human-hacking/human-hacking-field-guide/|humour/human-hacking/human-hacking-field-guide-v2-arabic/|humour/TheEnemy/TheEnemy_eng\.html|humour/TheEnemy/The-Enemy-English-rev4\.html|humour/TheEnemy/The-Enemy-English-rev5\.html|humour/TheEnemy/The-Enemy-English-rev6\.html|humour/TheEnemy/The-Enemy-English-v7/|humour/TheEnemy/The-Enemy-Hebrew-v7\.html|humour/TheEnemy/The-Enemy-English-v7\.html|humour/TheEnemy/TheEnemy\.html|humour/TheEnemy/The-Enemy-rev[456]\.html|me/resumes/Shlomi-Fish-Heb-Resume\.html)' |
     grep -vP 'meta/copyrights/index\.html' | # Contains rel="nofollow"
     grep -vP 'open-source/anti/php/index\.html' | # Contains code
     grep -vP 'open-source/bits-and-bobs/greasemonkey/grease\.html' | # Contains HTML markup
     grep -vP 'rindolf/rindolf-spec/' # old and contains code
 }
 
-find dest/t2-homepage/ -regextype posix-extended -regex '.*x?html' -print | 
+find dest/t2-homepage/ -regextype posix-extended -regex '.*x?html' -print |
     grep -vP '/catb-heb\.html$' | # HTML - not XHTML file.
     grep -vP 'WebMetaLecture/slides/examples' | # HTML - not XHTML files.
     grep -vP '/rewrite\.html$' | # HTML - not XHTML files.
-    sort | 
+    sort |
     xargs -d '\n' perl bin/html-check-spelling-xmlp.pl