cd ../EyeView || exit $?
exec >ls_view.htm
echo '
Raven - LS index
Raven - LS index
'
do_one()
{
name="$1"
if [ -L $name ]
then
name2=$(readlink $name)
echo ''
# echo ''$name''
# echo ' --> '
# echo ''$name2
echo "$name --> $name2"
echo '
'
elif [ -d $name ]
then
echo ''
else
echo ''$name'
'
fi
}
for link in *
do
[ -L $link ] || continue
do_one "$link"
done
find * | sort | grep -v 0j |while read name
do
[ -L $name ] && continue
do_one "$name"
done
echo ''