scsh-hackers
[Top] [All Lists]

Re: [Scsh-hackers] Proposal for packaging of scsh libraries

To: Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
Subject: Re: [Scsh-hackers] Proposal for packaging of scsh libraries
From: Anthony Carrico <acarrico@memebeam.org>
Date: Wed Nov 5 09:31:23 2003
Cc: Michel Schinz <Michel.Schinz@epfl.ch>, scsh-hackers@lists.sourceforge.net
List-id: Discussion among the implementors <scsh-hackers.lists.sourceforge.net>
Sender: scsh-hackers-admin@lists.sourceforge.net
> Michel Schinz <Michel.Schinz@epfl.ch> writes:
> > Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de> writes:
> >> Michel Schinz <Michel.Schinz@epfl.ch> writes:
...
> > Which reminds me of the fact that tilde-expansion is not performed on
> > the paths contained in SCSH_LIB_DIRS:
> > ----------------------------------------------------------------------
> > % SCSH_LIB_DIRS='"~/projects/scsh-packages/root/"' scsh -ll sunet/pkg.scm
...
> > Maybe it would be nice (and helpful for users who need their own
> > package root) to perform tilde-expansion on all components of
> > SCSH_LIB_DIRS at scsh startup.

I think the correct way is to just let your shell to do the expansion
when the variable is being set. For example:

bash$ SCSH_LIB_DIRS=~/projects/scsh-packages/root
bash$ echo $SCSH_LIB_DIRS
/home/acarrico/projects/scsh-packages/root

I don't think it is correct for scsh to massage the value.

> > Yes, I guess if we say that versions are sequences of integers, and
> > that they are ordered lexicographically, it's enough.
>
> Plus, that the sequence delimiter in the version number is a simple
> dot...

(1 2 3)  < (1 20 3)
"1.2.3" ?< "1.20.3"

True or false?

-- 
Anthony Carrico


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