bulk typos
Justin Pryzby <pryzby@telsasoft.com>
From: Justin Pryzby <pryzby@telsasoft.com>
To: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2018-03-31T10:56:40Z
Lists: pgsql-hackers
Attachments
- postgres-typos (text/plain)
I needed another distraction so bulk-checked for typos, limited to comments in
*.[ch].
I'm not passionate about this, but it serves the purpose of reducing the
overhead of fixing them individually.
Also I heard something here recently about ugly languages..
time find . -name '*.c' -print0 |xargs -r0 sed -s '/.*\/\*/!d; s///; :l; /\*\/.*/!{N;b l}; s///; s/.*/\L&/' |grep -Eo '[[:alpha:]]{3,}' |sort |uniq -c |sort -nr |awk '$1==1{print $2}' |grep -xFvf /usr/share/dict/words |less
If any of these are disputed or objectionable, I would summarily discard them,
as I'm sure I missed some and fixing every last typo wasn't really the ghoul.
Justin
Commits
-
Fix some grammar and typos in comments and docs
- c6671cdbde93 9.6.20 landed
- b99cbbf5ce51 10.15 landed
- c7f41b2999c3 11.10 landed
- bebad3342004 12.5 landed
- 796885a07133 13.1 landed
- 8a15e735be00 14.0 landed
-
Fix a boatload of typos in C comments.
- 0b11a674fb11 11.0 landed