Martin MOKREJŠ <mmokrejs@natur.cuni.cz> wrote:
> I've found that /sbin/sh on Irix system is somehow weird, and
> understands
>
> if [ -l link ]; then
> echo "file is a softlink"
> fi
>
> Is it possible to add this to bash-2.05b?
bash can do the same thing, but spells it -h or -L, not -l. If you
really need it to recognize -l too, you can add "case 'l':" to test.c
at line 658.
paul