This commit is contained in:
edoardottt 2023-04-16 09:17:30 +02:00
parent db2db1b2ac
commit 8706a2c5a5

View File

@ -19,7 +19,7 @@ uniqlinks=$(cat $readme | egrep "\- \[" | uniq | wc -l)
if [[ $links -eq $uniqlinks ]]; if [[ $links -eq $uniqlinks ]];
then then
echo "[ OK! ] NO DUPLICATES FOUND." echo "[ OK! ] NO DUPLICATES FOUND."
echo $links | wc -l echo "$links links in README."
else else
echo "[ ERR ] DUPLICATES FOUND!" echo "[ ERR ] DUPLICATES FOUND!"
cat $readme | egrep "\- \[" | uniq -c | egrep -iv "1 - [" cat $readme | egrep "\- \[" | uniq -c | egrep -iv "1 - ["