This commit is contained in:
edoardottt 2023-04-16 09:15:42 +02:00
parent dee2618533
commit e0800c1229

View File

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