1#!/bin/bash 2# 3# So many cross links to maintain. Here is a script that I've used to 4# validate things at least conform to some structure: 5# 6for x in *.? ; do 7 y=$(grep -F '.so m' ${x} | awk '{print $2}' | sed -e 's/man..//') 8 if [ -z "${y}" ]; then 9 continue 10 fi 11 echo 12 echo "###########" 13 echo "${x} => ${y}" 14 grep -F "${x%.*}" "${y}" 15done 16