This commit is contained in:
edoardottt 2023-04-16 09:16:18 +02:00
parent e0800c1229
commit db2db1b2ac

View File

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