Re[4]: How to write an execline helper in execline?

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Sun, 16 Oct 2016 20:15:03 +0000

>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

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC