[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Dollar expansion (Was: Registry editor)
From: David Faure <david () mandrakesoft ! com>
Date: 2002-04-28 9:10:37
[Download RAW message or body]
On Sunday 28 April 2002 06:33, Waldo Bastian wrote:
> On Saturday 27 April 2002 06:19 pm, Zack Rusin wrote:
> > The last one brings one important point, more
> > applications should use "setDollarExpansion" in the config in order to
> > make this tool really useable.
>
> They all do since yesterday.
>
> Just append [$e] (expand) to the key and $ENV_VARS will automatically be
> expanded.
>
> E.g. if you had:
> hostname=Wantelbos
>
> you can now use
> hostname[$e]=$HOSTNAME
>
> And $HOSTNAME will be expanded at runtime.
Wow, this is unbelieveably clever.
Kudos, Waldo.
--
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KDE, Making The Future of Computing Available Today
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic