> Yes.  The correct way is:
   >    -f $dir/perl -a -x $dir/perl
   
   Now I'm confused.  What if /usr/bin/perl is a symlink to
   /usr/bin/perl5.005 or something?

It works with a file (or simlink) and with a directory (or simlink),
both with bash's bilt-in test and the stand-alone test.

Reply via email to