Hmm.... Maybe do the whole thing in Perl? Got the poos with my ADSL traffic meter script and re-wrote it in Perl. 'Use DBI;' alone made it worth the effort. :o) Antti Anthony wrote: > filename=`perl -e 'print readlink("symlink.name")'` Antti