summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJoel Hans <joel@netdata.cloud>2020-02-06 15:43:36 -0700
committerGitHub <noreply@github.com>2020-02-06 15:43:36 -0700
commit35909a8c7a13db430c55ee9e168ecce4653d559a (patch)
tree72c7cc1a25f0eded31962c9f9db39291c9fedac8 /docs
parentd8fedbf3413ae5e4a0a3be8741efe77f1f1ad0c3 (diff)
Change sed to include parentheses (#7995)
Diffstat (limited to 'docs')
-rwxr-xr-xdocs/generator/checklinks.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/generator/checklinks.sh b/docs/generator/checklinks.sh
index ab5964312a..fea613e46a 100755
--- a/docs/generator/checklinks.sh
+++ b/docs/generator/checklinks.sh
@@ -55,7 +55,7 @@ testinternal () {
ilnk=${3}
header=${ilnk//-/}
dbg " - Searching for \"$header\" in $ifile"
- tr -d '[],_.:? `'< "$ifile" | sed -e 's/-//g' -e "s/'//g" | grep -i "^\\#*$header\$" >/dev/null
+ tr -d '[],_.:? `'< "$ifile" | sed -e 's/-//g' -e "s/'//g" -e "s/(//g" -e "s/)//g" | grep -i "^\\#*$header\$" >/dev/null
if [ $? -eq 0 ] ; then
dbg " - $ilnk found in $ifile"
return 0