#! /bin/csh
#
# Script for dereferencing of a symbolic link that points to
# another directory at the same level
#
# Depends on the following parameters:

set link_parent = $1      # absolute parent dir pathname in which link resides
set link_name = $2        # the basename of the link

set  link_actual = `slinkdir $link_parent/$link_name`

# return the basename of the actual directory
#
echo `basename $link_actual`
