Skip to content
Snippets Groups Projects
Commit 0c3c2bf7 authored by Pavel Gajdušek's avatar Pavel Gajdušek
Browse files

changes struct, script

parent 18cefc67
No related branches found
No related tags found
6 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section,!196Master,!161Gajdusek cleaning
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
for file in $@; do for file in $@; do
check=$(cat $file | grep -Eo "\[.*?\]\([^ ]*\)" | grep -v "#" | grep -vE "http|www|ftp|none" | sed 's/\[.*\]//g' | sed 's/[()]//g' | sed 's/\/$/.md/g') check=$(cat $file | grep -Po "\[.*?\]\(.*?\)" | grep -v "#" | grep -vE "http|www|ftp|none" | sed 's/\[.*\]//g' | sed 's/[()]//g' | sed 's/\/$/.md/g')
if [ ! -z "$check" ]; then if [ ! -z "$check" ]; then
# echo "\n+++++ $file +++++\n" # echo "\n+++++ $file +++++\n"
...@@ -24,7 +24,9 @@ else ...@@ -24,7 +24,9 @@ else
echo "\n+++++ $file +++++\n" echo "\n+++++ $file +++++\n"
fi fi
wrong=1 wrong=1
# echo "wrong link in $(readlink -m $pathtocheck)"
echo "wrong link in $pathtocheck" echo "wrong link in $pathtocheck"
fi fi
done done
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment