scsh-users
[Top] [All Lists]

Re: misleading error message

To: scsh <scsh@zurich.csail.mit.edu>
Subject: Re: misleading error message
From: Andreas Bernauer <andreas.bernauer@gmx.de>
Date: Tue, 17 Feb 2004 10:09:27 -0500
Mail-followup-to: scsh <scsh@zurich.csail.mit.edu>
Martin Gasbichler wrote:
> Andreas Bernauer <andreas.bernauer@gmx.de> writes:
> > I find the following error message of scsh not very informative, as I
> > could not figure out, what the problem was:
> > Error: Illegal path element in $SCSH_LIB_DIRS
> >        "/home/andreas/bin/lib/scsh/modules"
> >        /home/andreas/bin/lib/scsh/modules
> How about:
> 
> Error: Illegal path element in $SCSH_LIB_DIRS
>        $SCSH_LIB_DIRS:
>        "#f /afs/wsi/share/scsh-modules"
>        The following element is not a string or #f:
>        /afs/wsi/share/scsh-modules
> 

That's even better.  However, the double quotes around the content of
$SCSH_LIB_DIRS might be misleading, too, if some elements are correct
and contain double quotes themselves.  What if we just omit the
surrounding doble quotes?

Anyhow, as the offending element is named explicitly, this should not
be too misleading.

Andreas.

Attachment: pgpywyyo7yRSn.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>