fixed in cvs. thanks!
thi
___
Bug-guile mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-guile
Alexander Klimov <[EMAIL PROTECTED]> writes:
> Actully, documentation said that all commands follow simbolic links, so
> `-f' means that after it resolve symbolic links it found `regular file'.
Ahh, I see. Sorry for not checking more thoroughly. "-f" is the way
to go, then.
__
On 25 Mar 2001, Marius Vollmer wrote:
> > if [ ! -e guile-procedures.txt ]; then
> > ^^^
> > which produces the error message shown in subject. The line should be
> > substituted with
> > if [ ! -f guile-procedures.txt ]; then
>
> The problem with -f is that it checks for a regular file,
Alexander Klimov <[EMAIL PROTECTED]> writes:
> Hi.
>
> According to `man test' on Solaris 2.6 there is no `-e' primitive for sh,
> but only for ksh. It also exists in bash.
>
> There is an error in check-guile:36
>
> if [ ! -e guile-procedures.txt ]; then
> ^^^
> which produces the error
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
> From: Alexander Klimov <[EMAIL PROTECTED]>
> Date: Sun, 25 Mar 2001 12:50:33 +0200 (IST)
>
> Hi.
>
> According to `man test' on Solaris 2.6 there is no `-e' primitive for sh,
> but only for ksh. It also exists in bash.
>
> There is an error in check-guile:36
>
> if [ ! -e guile-procedures.tx
Hi.
According to `man test' on Solaris 2.6 there is no `-e' primitive for sh,
but only for ksh. It also exists in bash.
There is an error in check-guile:36
if [ ! -e guile-procedures.txt ]; then
^^^
which produces the error message shown in subject. The line should be
substituted with
if