From d0996a25bd4030875fbc98cabea815dd6741dd0d Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 14 Aug 2015 23:29:04 +0000 Subject: Add withstdinas --- doc/backtick.html | 8 +++---- doc/index.html | 3 ++- doc/upgrade.html | 3 +++ doc/withstdinas.html | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 76 insertions(+), 5 deletions(-) create mode 100644 doc/withstdinas.html (limited to 'doc') diff --git a/doc/backtick.html b/doc/backtick.html index df351f2..6aa2f01 100644 --- a/doc/backtick.html +++ b/doc/backtick.html @@ -19,8 +19,8 @@

The backtick program

-backtick runs a program and uses its output as the argument of -another program. +backtick runs a program and stores its output in an +environment variable, then executes another program.

Interface

@@ -47,8 +47,8 @@ output as a value.

(Basic block management) @@ -150,6 +150,7 @@ to your installation: the shebang lines for your system might be something like

  • The ifte program
  • The ifthenelse program
  • The backtick program
  • +
  • The pipeline program
  • The runblock program
  • diff --git a/doc/upgrade.html b/doc/upgrade.html index 11ecd0a..6013a41 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -22,6 +22,9 @@

    in 2.1.3.1

    diff --git a/doc/withstdinas.html b/doc/withstdinas.html new file mode 100644 index 0000000..29ad1b6 --- /dev/null +++ b/doc/withstdinas.html @@ -0,0 +1,67 @@ + + + + + + execline: the withstdinas command + + + + + + +

    +execline
    +Software
    +skarnet.org +

    + +

    The withstdinas program

    + +

    +withstdinas reads the entirety of its standard input in an +environment variable, and runs another program with that additional +environment variable. +

    + +

    Interface

    + +

    + In an execlineb script: +

    + +
    +     withstdinas [ -i | -D default ] [ -n ] variable prog...
    +
    + + + +

    Options

    + + + +

    Notes

    + + + + + -- cgit v1.3.1