src/links.sh

1
2
3
4
5
6
#/bin/sh

for f in `find . -name '*.[hc].page'`; do
    l=`echo $f | sed 's/.page$//'`
    test -f $l || ln -f -s `basename $f` $l
done