>Hi, slightly among the lines of this suggestion, is there anything to
>help templating files with a given set (or subset) of env vars? This
>would be nice addition for s6 overlay
I can't think of anything simpler than
s6-envdir dir_containing_all_variable_definitions
multisubstitute
{
import -u variable1
import -u variable2
import -u variable3
...
}
script_using_variables
Is that the kind of thing you're looking for?
--
Laurent
Received on Sun Oct 16 2016 - 20:15:03 UTC