[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ./check-guile: test: argument expected
From: |
Alexander Klimov |
Subject: |
Re: ./check-guile: test: argument expected |
Date: |
Sun, 25 Mar 2001 13:26:27 +0000 (GMT) |
On 25 Mar 2001, Gary Houston wrote:
> > if [ ! -f guile-procedures.txt ]; then
>
> Thanks. I don't think -f is right, since it's testing a symbolic link.
> I don't know if test -L is portable. Maybe test -r would be best.
I don't shure I understand you idea: `-f xxx' returns true (0) even if xxx
is a symbolic link, from the other hand I don't see -L in test for sh
manual, but there is `-h xxx' to test if xxx is a symbolic link
Regards,
ASK