mirror of
https://github.com/lightning/bolts.git
synced 2024-11-19 10:00:04 +01:00
spellcheck: allow space-separated hex, and a few new terms.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
f3fb4ec9c4
commit
2fe6af8567
@ -345,3 +345,5 @@ CompactSize
|
|||||||
encodings
|
encodings
|
||||||
bigsize
|
bigsize
|
||||||
BigSize
|
BigSize
|
||||||
|
namespaces
|
||||||
|
tlvs
|
||||||
|
@ -57,14 +57,14 @@ do
|
|||||||
# indented field names, eg. ' `num_htlcs`: 0'
|
# indented field names, eg. ' `num_htlcs`: 0'
|
||||||
# lightning addresses, eg. `lnbc1qpvj6chq...`
|
# lightning addresses, eg. `lnbc1qpvj6chq...`
|
||||||
# BIP 173 addresses, eg. `bc1qpvj6chq...`
|
# BIP 173 addresses, eg. `bc1qpvj6chq...`
|
||||||
# Short hex strings, eg '0x2bb038521914'
|
# Short hex strings, eg '0x2bb038521914 12'
|
||||||
# long hex strings
|
# long hex strings
|
||||||
# long base58 strings
|
# long base58 strings
|
||||||
WORDS=$(sed -e 's/\]([-#a-zA-Z0-9_.]*)//g' \
|
WORDS=$(sed -e 's/\]([-#a-zA-Z0-9_.]*)//g' \
|
||||||
-e '/^```/,/^```/d' \
|
-e '/^```/,/^```/d' \
|
||||||
-e 's/`[a-zA-Z0-9_]*`//g' \
|
-e 's/`[a-zA-Z0-9_]*`//g' \
|
||||||
-e 's/\* \[`[_a-z0-9*]\+`://g' \
|
-e 's/\* \[`[_a-z0-9*]\+`://g' \
|
||||||
-e 's/0x[a-fA-F0-9]\+//g' \
|
-e 's/0x[a-fA-F0-9 ]\+//g' \
|
||||||
-e 's/[a-fA-F0-9]\{20,\}//g' \
|
-e 's/[a-fA-F0-9]\{20,\}//g' \
|
||||||
-e 's/^ .*_htlcs//g' \
|
-e 's/^ .*_htlcs//g' \
|
||||||
-e 's/ ln\(bc\|tb\)[0-9munp]*1[qpzry9x8gf2tvdw0s3jn54khce6mua7l]\+//g' \
|
-e 's/ ln\(bc\|tb\)[0-9munp]*1[qpzry9x8gf2tvdw0s3jn54khce6mua7l]\+//g' \
|
||||||
|
Loading…
Reference in New Issue
Block a user