We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb7babe commit 7371dacCopy full SHA for 7371dac
clean-wiki.sh
@@ -1,11 +1,11 @@
1
# We dont want relative links or header 1 from the wiki
2
3
# Move headers to +1
4
-find ./docs/wiki -type f -exec sed -i 's/^#/##/g' {} ;
+find ./docs/wiki -type f -exec sed -i 's/^#/##/g' {} ';'
5
6
# Links formatted like (Nice link)[link]
7
-find ./docs/wiki -type f -exec sed -i 's/\)\[(?!http)(([^\]]+))\]/\)\[/search\.html\?q=\1\]/g' {} ;
+find ./docs/wiki -type f -exec sed -i 's/\)\[(?!http)(([^\]]+))\]/\)\[/search\.html\?q=\1\]/g' {} ';'
8
9
10
# Links formatted like [[pagename]]
11
-find ./docs/wiki -type f -exec sed -i 's/\[\[([^\]]+)\]\]/\(\1\)\[/search\.html\?q=\1\]/g' {} ;
+find ./docs/wiki -type f -exec sed -i 's/\[\[([^\]]+)\]\]/\(\1\)\[/search\.html\?q=\1\]/g' {} ';'
0 commit comments