This commit is contained in:
edoardottt 2023-04-16 09:15:42 +02:00
parent dee2618533
commit e0800c1229
1 changed files with 2 additions and 2 deletions

View File

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