#!/bin/csh -f
#
# If directory name is specified on command line, cd there first

if ($#argv > 0) then
   cd $1
   endif

foreach x (*-th)
ln -fs $x `basename $x -th`
end
