Fixing typos is sometimes very hard. It's not so easy to visually review them. Recently, I discovered a very useful tool for it, misspell.
This pull request fixes minor typos detected by misspell except for the false positives. If you would like me to work on other files as well, let me know.
before
$ misspell .
ccan/antithread/examples/arabella.c:131:43: "trinagle" is a misspelling of "triangle"
ccan/asort/test/run.c:38:12: "psuedo" is a misspelling of "pseudo"
ccan/asort/test/run.c:55:1: "psuedo" is a misspelling of "pseudo"
ccan/asort/test/run.c:62:1: "psuedo" is a misspelling of "pseudo"
ccan/autodata/autodata.h:15:53: "preceed" is a misspelling of "precede"
ccan/bitops/bitops.h:18:23: "signficant" is a misspelling of "significant"
ccan/bitops/bitops.h:29:23: "signficant" is a misspelling of "significant"
ccan/bitops/bitops.h:49:21: "signficant" is a misspelling of "significant"
ccan/bitops/bitops.h:50:3: "signficant" is a misspelling of "significant"
ccan/bitops/bitops.h:61:21: "signficant" is a misspelling of "significant"
ccan/bitops/bitops.h:62:3: "signficant" is a misspelling of "significant"
ccan/bitops/bitops.h:82:22: "signficant" is a misspelling of "significant"
ccan/bitops/bitops.h:83:3: "signficant" is a misspelling of "significant"
ccan/bitops/bitops.h:94:22: "signficant" is a misspelling of "significant"
ccan/bitops/bitops.h:95:3: "signficant" is a misspelling of "significant"
ccan/bitops/bitops.h:114:23: "signficant" is a misspelling of "significant"
ccan/bitops/bitops.h:125:23: "signficant" is a misspelling of "significant"
ccan/bitops/bitops.h:136:23: "signficant" is a misspelling of "significant"
ccan/bitops/bitops.h:147:23: "signficant" is a misspelling of "significant"
ccan/bitops/bitops.h:158:23: "signficant" is a misspelling of "significant"
ccan/bitops/bitops.h:168:23: "signficant" is a misspelling of "significant"
ccan/bitops/bitops.h:178:23: "signficant" is a misspelling of "significant"
ccan/bitops/bitops.h:188:23: "signficant" is a misspelling of "significant"
ccan/coroutine/coroutine.c:20:24: "addres" is a misspelling of "address"
ccan/crypto/sha256/benchmarks/double-sha-bench.c:36:18: "initalize" is a misspelling of "initialize"
ccan/darray/test/testLits.h:112:750: "ADN" is a misspelling of "AND"
ccan/darray/test/testLits.h:113:744: "ADN" is a misspelling of "AND"
ccan/darray/test/testLits.h:114:749: "ADN" is a misspelling of "AND"
ccan/darray/test/testLits.h:120:750: "ADN" is a misspelling of "AND"
ccan/darray/test/lotsOfStrings.h:5:50: "ADN" is a misspelling of "AND"
ccan/darray/test/lotsOfStrings.h:108:753: "ADN" is a misspelling of "AND"
ccan/darray/test/lotsOfStrings.h:229:260: "ADN" is a misspelling of "AND"
ccan/darray/test/lotsOfStrings.h:592:1124: "ECT" is a misspelling of "ETC"
ccan/darray/test/lotsOfStrings.h:906:772: "ECT" is a misspelling of "ETC"
ccan/darray/test/lotsOfStrings.h:930:698: "ADN" is a misspelling of "AND"
ccan/hash/hash.c:284:7: "noticably" is a misspelling of "noticeably"
ccan/hash/hash.c:461:7: "noticably" is a misspelling of "noticeably"
ccan/intmap/intmap.h:289:16: "preceeding" is a misspelling of "preceding"
ccan/intmap/intmap.h:303:16: "preceeding" is a misspelling of "preceding"
ccan/iscsi/scsi-lowlevel.c:121:30: "calcualte" is a misspelling of "calculate"
ccan/iscsi/scsi-lowlevel.c:201:30: "calcualte" is a misspelling of "calculate"
ccan/iscsi/scsi-lowlevel.c:271:30: "calcualte" is a misspelling of "calculate"
ccan/iscsi/scsi-lowlevel.c:415:30: "calcualte" is a misspelling of "calculate"
ccan/list/list.h:711:38: "wich" is a misspelling of "which"
ccan/list/list.h:743:38: "wich" is a misspelling of "which"
ccan/list/list.h:755:38: "wich" is a misspelling of "which"
ccan/list/list.h:774:38: "wich" is a misspelling of "which"
ccan/rbtree/rbtree.c:451:38: "sucessor" is a misspelling of "successor"
ccan/rfc822/rfc822.h:81:46: "subsiduary" is a misspelling of "subsidiary"
ccan/str/hex/hex.h:10:13: "hexidecimal" is a misspelling of "hexadecimal"
ccan/str/hex/_info:8:42: "hexidecimal" is a misspelling of "hexadecimal"
ccan/strgrp/_info:54:7: "Comparsion" is a misspelling of "Comparison"
ccan/tal/stack/stack.h:12:54: "contextes" is a misspelling of "contexts"
ccan/tal/stack/_info:6:28: "contextes" is a misspelling of "contexts"
ccan/tal/tal.c:498:39: "becuase" is a misspelling of "because"
ccan/talloc/talloc.c:624:13: "varient" is a misspelling of "variant"
ccan/tap/tap.3:288:12: "compatability" is a misspelling of "compatibility"
ccan/tap/tap.3:306:4: "COMPATABILITY" is a misspelling of "COMPATIBILITY"
ccan/time/time.h:45:23: "absolue" is a misspelling of "absolute"
ccan/tlist/_info:9:64: "accomodate" is a misspelling of "accommodate"
ccan/tlist/tlist.h:37:16: "initalizer" is a misspelling of "initializer"
ccan/tlist2/_info:9:64: "accomodate" is a misspelling of "accommodate"
ccan/tlist2/tlist2.h:34:17: "initalizer" is a misspelling of "initializer"
ccan/xstring/xstring.h:134:31: "inital" is a misspelling of "initial"
ccan/xstring/xstring.h:144:31: "inital" is a misspelling of "initial"
ccan/xstring/xstring.h:155:32: "inital" is a misspelling of "initial"
ccan/xstring/xstring.h:166:35: "inital" is a misspelling of "initial"
junkcode/iasoule32@gmail.com-polynomial/_info.c:6:68: "derivate" is a misspelling of "derivative"
junkcode/iasoule32@gmail.com-polynomial/polynomial_adt.h:3:26: "derivate" is a misspelling of "derivative"
junkcode/iasoule32@gmail.com-polynomial/test/run.c:84:16: "derivitive" is a misspelling of "derivative"
junkcode/rusty@rustcorp.com.au-ntdb/doc/design.txt:603:25: "heirarchy" is a misspelling of "hierarchy"
junkcode/rusty@rustcorp.com.au-ntdb/doc/design.txt:738:53: "changable" is a misspelling of "changeable"
junkcode/rusty@rustcorp.com.au-ntdb/doc/design.txt:789:15: "preceeding" is a misspelling of "preceding"
junkcode/rusty@rustcorp.com.au-ntdb/ntdb.c:331:21: "changable" is a misspelling of "changeable"
junkcode/rusty@rustcorp.com.au-ntdb/ntdb.c:376:15: "changable" is a misspelling of "changeable"
junkcode/rusty@rustcorp.com.au-ntdb/ntdb.c:420:15: "changable" is a misspelling of "changeable"
junkcode/rusty@rustcorp.com.au-ntdb/doc/design.lyx:1456:25: "heirarchy" is a misspelling of "hierarchy"
junkcode/rusty@rustcorp.com.au-ntdb/doc/design.lyx:1698:36: "changable" is a misspelling of "changeable"
junkcode/rusty@rustcorp.com.au-ntdb/doc/design.lyx:1798:12: "preceeding" is a misspelling of "preceding"
junkcode/rusty@rustcorp.com.au-ntdb/test/api-open-multiple-times.c:72:5: "Transaciton" is a misspelling of "Transactions"
junkcode/swehack@gmail.com-snifstat/snifstat.c:61:20: "filterd" is a misspelling of "filtered"
junkcode/swehack@gmail.com-snifstat/snifstat.c:133:24: "filterd" is a misspelling of "filtered"
junkcode/swehack@gmail.com-snifstat/snifstat.c:138:26: "filterd" is a misspelling of "filtered"
tools/ccanlint/licenses.c:95:11: "compatibilty" is a misspelling of "compatibility"
tools/ccanlint/licenses.c:133:37: "recepient" is a misspelling of "recipient"
after
$ misspell .
ccan/darray/test/testLits.h:112:750: "ADN" is a misspelling of "AND"
ccan/darray/test/testLits.h:113:744: "ADN" is a misspelling of "AND"
ccan/darray/test/testLits.h:114:749: "ADN" is a misspelling of "AND"
ccan/darray/test/testLits.h:120:750: "ADN" is a misspelling of "AND"
ccan/darray/test/lotsOfStrings.h:5:50: "ADN" is a misspelling of "AND"
ccan/darray/test/lotsOfStrings.h:108:753: "ADN" is a misspelling of "AND"
ccan/darray/test/lotsOfStrings.h:229:260: "ADN" is a misspelling of "AND"
ccan/darray/test/lotsOfStrings.h:592:1124: "ECT" is a misspelling of "ETC"
ccan/darray/test/lotsOfStrings.h:906:772: "ECT" is a misspelling of "ETC"
ccan/darray/test/lotsOfStrings.h:930:698: "ADN" is a misspelling of "AND"
junkcode/iasoule32@gmail.com-polynomial/_info.c:6:68: "derivate" is a misspelling of "derivative"
junkcode/iasoule32@gmail.com-polynomial/test/run.c:84:16: "derivitive" is a misspelling of "derivative"
junkcode/iasoule32@gmail.com-polynomial/polynomial_adt.h:3:26: "derivate" is a misspelling of "derivative"
junkcode/rusty@rustcorp.com.au-ntdb/doc/design.txt:603:25: "heirarchy" is a misspelling of "hierarchy"
junkcode/rusty@rustcorp.com.au-ntdb/doc/design.txt:738:53: "changable" is a misspelling of "changeable"
junkcode/rusty@rustcorp.com.au-ntdb/doc/design.txt:789:15: "preceeding" is a misspelling of "preceding"
junkcode/rusty@rustcorp.com.au-ntdb/doc/design.lyx:1456:25: "heirarchy" is a misspelling of "hierarchy"
junkcode/rusty@rustcorp.com.au-ntdb/doc/design.lyx:1698:36: "changable" is a misspelling of "changeable"
junkcode/rusty@rustcorp.com.au-ntdb/doc/design.lyx:1798:12: "preceeding" is a misspelling of "preceding"
junkcode/rusty@rustcorp.com.au-ntdb/ntdb.c:331:21: "changable" is a misspelling of "changeable"
junkcode/rusty@rustcorp.com.au-ntdb/ntdb.c:376:15: "changable" is a misspelling of "changeable"
junkcode/rusty@rustcorp.com.au-ntdb/ntdb.c:420:15: "changable" is a misspelling of "changeable"
junkcode/rusty@rustcorp.com.au-ntdb/test/api-open-multiple-times.c:72:5: "Transaciton" is a misspelling of "Transactions"
junkcode/swehack@gmail.com-snifstat/snifstat.c:61:20: "filterd" is a misspelling of "filtered"
junkcode/swehack@gmail.com-snifstat/snifstat.c:133:24: "filterd" is a misspelling of "filtered"
junkcode/swehack@gmail.com-snifstat/snifstat.c:138:26: "filterd" is a misspelling of "filtered"
Fixing typos is sometimes very hard. It's not so easy to visually review them. Recently, I discovered a very useful tool for it, misspell.
This pull request fixes minor typos detected by misspell except for the false positives. If you would like me to work on other files as well, let me know.
before
after
see also: https://github.com/ruby/ruby/pull/1925