Add scripts

This commit is contained in:
edoardottt 2023-04-12 12:21:26 +02:00
parent 8d14f373c6
commit 5d5e88d3c8

View File

@ -1,9 +1,14 @@
#!/bin/bash
echo $(pwd)
readme="README.md"
pwd=$(pwd)
if [[ "${pwd: -7}" == "scripts" ]];
then
readme="../README.md"
fi
links=$(cat $readme | egrep "\- \[" | wc -l)
uniqlinks=$(cat $readme | egrep "\- \[" | uniq | wc -l)