]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/contrib] Handle parentheses in spellcheck.sh
authorTom de Vries <tdevries@suse.de>
Wed, 13 Nov 2024 20:06:58 +0000 (21:06 +0100)
committerTom de Vries <tdevries@suse.de>
Wed, 13 Nov 2024 20:06:58 +0000 (21:06 +0100)
commit0d1f7e2765040975e4e2de9502b5d5e2f2547095
tree40c1e8dc4c75838c153512ee8997802c1bb190ed
parente2fa415cfd38017bbe8078a1f83d616cff36e960
[gdb/contrib] Handle parentheses in spellcheck.sh

Currently, text adjacent to parentheses is not spell-checked:
...
$ cat tmp.txt
(upto)
$ ./gdb/contrib/spellcheck.sh tmp.txt
$
...

Add handling of parentheses, such that we get:
...
$ ./gdb/contrib/spellcheck.sh tmp.txt
upto -> up to
$
...

Rerun spellcheck.sh, resulting in a few "thru->through" replacements.

Tested on x86_64-linux.

Approved-by: Kevin Buettner <kevinb@redhat.com>
gdb/contrib/spellcheck.sh
gdb/objc-lang.c
gdb/testsuite/gdb.reverse/step-precsave.exp
gdb/testsuite/gdb.reverse/step-reverse.exp