diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-03-01 13:56:46 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-03-01 13:56:46 +0000 |
commit | 3d4285c7580f3fda1c66fa9ab3c0463d9edb6449 (patch) | |
tree | ba248bef99aa2564078d3dc1d290946ae5ee57e9 /doc/s6-dumpenv.html | |
parent | fe1f70d5f729e331facf481ec45cc1c64e095d85 (diff) | |
download | s6-portable-utils-3d4285c7580f3fda1c66fa9ab3c0463d9edb6449.tar.gz s6-portable-utils-3d4285c7580f3fda1c66fa9ab3c0463d9edb6449.tar.xz s6-portable-utils-3d4285c7580f3fda1c66fa9ab3c0463d9edb6449.zip |
- New command: dumpenv
- Version: 2.0.3.0 rc
Diffstat (limited to 'doc/s6-dumpenv.html')
-rw-r--r-- | doc/s6-dumpenv.html | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/doc/s6-dumpenv.html b/doc/s6-dumpenv.html new file mode 100644 index 0000000..7de65ae --- /dev/null +++ b/doc/s6-dumpenv.html @@ -0,0 +1,55 @@ +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <meta http-equiv="Content-Language" content="en" /> + <title>s6-portable-utils: the s6-dumpenv program</title> + <meta name="Description" content="s6-portable-utils: the s6-dumpenv program" /> + <meta name="Keywords" content="s6-portable-utils command s6-dumpenv environment variables" /> + <!-- <link rel="stylesheet" type="text/css" href="http://skarnet.org/default.css" /> --> + </head> +<body> + +<p> +<a href="index.html">s6-portable-utils</a><br /> +<a href="http://skarnet.org/software/">Software</a><br /> +<a href="http://skarnet.org/">skarnet.org</a> +</p> + +<h1> The <tt>s6-dumpenv</tt> program </h1> + +<p> + s6-dumpenv stores its environment variables into a directory. +</p> + +<h2> Interface </h2> + +<pre> + s6-dumpenv [ -m <em>mode</em> ] <em>dir</em> +</pre> + +<ul> + <li> s6-dumpenv creates the directory <em>dir</em> if it does not exist +yet. </li> + <li> For every environment variable <em>x</em> with value <em>y</em> +that it has, it creates a file <em>dir</em>/<em>x</em> containing +<em>y</em>. </li> + <li> It then exits 0. </li> +</ul> + +<h2> Options </h2> + +<ul> + <li> <tt>-m</tt> <em>mode</em> : create <em>dir</em> with +mode <em>mode</em> if it doesn't exist yet. Default is 0755. </li> +</ul> + +<h2> Notes </h2> + +<ul> + <li> A program <em>prog</em> can be run with the environment in dir +by using <tt><a href="http://skarnet.org/software/s6/s6-envdir.html">s6-envdir</a> +-fn -- <em>dir</em> <em>prog</em></tt>. </li> +</ul> + +</body> +</html> |