So, you want to fix typos?
Dan Kegel
dank at kegel.com
Sat Dec 29 23:48:45 CST 2007
I see somebody's posting a few fix-typo-in-comments patches, e.g.
http://www.winehq.org/pipermail/wine-patches/2007-December/048099.html
http://www.winehq.org/pipermail/wine-patches/2007-December/048101.html
That reminds me that I worked out some time ago how
to find such typos efficiently. At the risk of encouraging lots
of silly typo-fixing patches, I've documented the process here:
http://kegel.com/wine/spellingpolice/
For instance, to find typos in comments in shell32, you can do:
sudo apt-get install ispell
wget http://kegel.com/wine/spellingpolice/stop.txt
wget http://kegel.com/wine/spellingpolice/lspell-pl.txt -O lspell.pl
perl lspell.pl stop.txt ~/wine-git/dlls/shell32/*.[ch]
This outputs:
/home/dank/wine-git/dlls/shell32/autocomplete.c: 1
dispays
/home/dank/wine-git/dlls/shell32/brsfolder.c: 1
relativ
/home/dank/wine-git/dlls/shell32/dataobject.c: 1
droping
/home/dank/wine-git/dlls/shell32/iconcache.c: 1
resoure
/home/dank/wine-git/dlls/shell32/pidl.c: 1
relativ
/home/dank/wine-git/dlls/shell32/pidl.h: 1
desribes
/home/dank/wine-git/dlls/shell32/shell.c: 1
incidently
/home/dank/wine-git/dlls/shell32/shfldr_fs.c: 1
spezified
/home/dank/wine-git/dlls/shell32/shfldr_unixfs.c: 4
appart relativ savely should'nt
/home/dank/wine-git/dlls/shell32/shlexec.c: 1
foward
/home/dank/wine-git/dlls/shell32/shlfileop.c: 2
ERRROR INVLID
/home/dank/wine-git/dlls/shell32/shlfolder.c: 1
whitch
/home/dank/wine-git/dlls/shell32/shlview.c: 2
buily provied
/home/dank/wine-git/dlls/shell32/trash.c: 1
DESCRITION
More information about the wine-devel
mailing list