Dollar expansion (Was: Registry editor)

David Faure david at mandrakesoft.com
Sun Apr 28 10:10:37 BST 2002


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 at mandrakesoft.com, faure at 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






More information about the kde-core-devel mailing list