From 272c1cc1e2de188ec384376cc42f5cdd5555c31a Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sun, 18 Feb 2024 19:20:02 +0100 Subject: [PATCH] nix: Fix docs-spellcheck with multiple references on a single line --- nix/tools/docs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/tools/docs.nix b/nix/tools/docs.nix index c1d631d54..c2c18728f 100644 --- a/nix/tools/docs.nix +++ b/nix/tools/docs.nix @@ -106,7 +106,7 @@ let # shellcheck disable=SC2086 disable=SC2016 cat $FILES \ | grep -v '^\(\.\.\| \)' \ - | sed 's/`.*`//g' \ + | sed -E 's/`+[^`]+`+//g' \ | ${aspell}/bin/aspell -d ${aspellDicts.en}/lib/aspell/en_US -p ./postgrest.dict list \ | sort -f \ | tee misspellings