bulk typos - Mailing list pgsql-hackers

From Justin Pryzby
Subject bulk typos
Date
Msg-id 20180331105640.GK28454@telsasoft.com
Whole thread Raw
Responses Re: bulk typos  (Félix GERZAGUET <felix.gerzaguet@gmail.com>)
Re: bulk typos  (Andres Freund <andres@anarazel.de>)
Re: bulk typos  (Justin Pryzby <pryzby@telsasoft.com>)
List 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

pgsql-hackers by date:

Previous
From: Arthur Zakirov
Date:
Subject: Re: [PROPOSAL] Shared Ispell dictionaries
Next
From: Félix GERZAGUET
Date:
Subject: Re: bulk typos