bulk typos

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: bulk typos
Date: 2018-03-31 10:56:40
Message-ID: 20180331105640.GK28454@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
postgres-typos text/plain 18.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Félix GERZAGUET 2018-03-31 11:17:04 Re: bulk typos
Previous Message Arthur Zakirov 2018-03-31 10:42:31 Re: [PROPOSAL] Shared Ispell dictionaries