]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/contrib] Handle dot in spellcheck.sh
authorTom de Vries <tdevries@suse.de>
Mon, 21 Oct 2024 13:19:25 +0000 (15:19 +0200)
committerTom de Vries <tdevries@suse.de>
Mon, 21 Oct 2024 13:19:25 +0000 (15:19 +0200)
commit3be7119db237a7a89775f83b37e4ec89451b6945
treea2ead51ab777cbba73289d6bded21adb34bc4243
parent6c80e57caaded430c37a10198a4d6ff9bba92bd8
[gdb/contrib] Handle dot in spellcheck.sh

Add handling of '.' in gdb/contrib/spellcheck.sh.

While we're at, simplify the sed invocation by using a single s command
instead of 3 s commands.

Also introduce sed_join and grep_join.

Fix the following common misspellings:
...
bandwith -> bandwidth
emmitted -> emitted
immediatly -> immediately
suprize -> surprise
thru -> through
transfered -> transferred
...

Verified with shellcheck.
gdb/contrib/spellcheck.sh
gdb/remote.c
gdb/testsuite/gdb.base/bigcore.exp
gdb/testsuite/gdb.base/call-sc.exp
gdb/testsuite/gdb.base/structs.exp
gdb/testsuite/gdb.debuginfod/build-id-no-debug-warning.exp
gdb/testsuite/gdb.mi/mi-memory-changed.exp
gdbserver/server.cc