#!/bin/sh find . -type l ! -exec test -r {} \; -print