Untitled diff
4 removals
18 lines
4 additions
18 lines
function tsoc {
function loopex {
find ./ -type f -print0 | while read -d $'\0' i
for i in 1 2 3 4 5
do
do
PASSED=true
PASSED=true
printf "Checking $i: "
printf "Checking $i: "
find ./ -type f -name "*.html" -print0 | while read -d $'\0' j
for myloop2 in 1 2 3 4 5
do
do
if grep -iq `basename $i` "$j"
if [ "$i" -eq 3 ]
then
then
PASSED=false
PASSED=false
printf "${GREEN}Passed${NC}\n"
printf "${GREEN}Passed${NC}\n"
continue 2
continue 2
fi
fi
done
done
if $PASSED ; then printf "${RED}Orphaned${NC}\n"; fi
if $PASSED ; then printf "${RED}Orphaned${NC}\n"; fi
done
done
}
}