mirror of
https://github.com/edoardottt/awesome-hacker-search-engines.git
synced 2026-07-04 11:27:54 +02:00
Add scripts
This commit is contained in:
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
readme="README.md"
|
||||
|
||||
links=$(cat $readme | egrep "\- \[" | wc -l)
|
||||
|
||||
uniqlinks=$(cat $readme | egrep "\- \[" | uniq | wc -l)
|
||||
|
||||
if [[ $links -eq $uniqlinks ]];
|
||||
then
|
||||
echo "NO DUPLICATES FOUND."
|
||||
else
|
||||
echo "DUPLICATES FOUND!"
|
||||
cat $readme | egrep "\- \[" | uniq -c | egrep -iv "1 - ["
|
||||
fi
|
||||
Reference in New Issue
Block a user