I find myself writing "import VAR unexport VAR" all the time
in execline scripts, because some environment variables are just
used for substitution and keeping them would only pollute the
rest of the script.

 For convenience, I have added a new "-u" option to import and
importas. "import -u VAR" substitutes VAR in the script and unexports
it at the same time. The option can also be used in multisubstitute
"import" directives.

 The feature is available in the latest git://git.skarnet.org/execline ;
please test it if you're interested (I've performed some basic tests
but might have missed some corner cases).

 And that wraps up 2014. Happy New Year !

--
 Laurent

Reply via email to