Extend KMacroExpander for shell-expansion?

Andreas Pakulat apaku at gmx.de
Sat Jul 12 00:17:51 BST 2008


Hi,

as I'm not sure wether this makes sense or not I'm asking here first.
For KDevelop I'd like to support setting variable values like this:

FOOBAR=kde
MYVAR=$HOME/$FOOBAR/test

and then before setting the variables on the actual process to execute
(buildtool, actual program whatever) expand all the variables to real
values.

Now I'm thinking this might be of interest for other people too and as
there's already expanding code in KMacroExpander I'm wondering wether I
should put a expandShellVariables() function into that namespace too. Or
should it rather go into KShell??

Andreas

-- 
Tomorrow will be cancelled due to lack of interest.




More information about the kde-core-devel mailing list