murex Shell Docs

Command Reference: <stdin>

Read the STDIN belonging to the parent code block


This is used inside functions and other code blocks to pass that block's STDIN down a pipeline


<stdin> -> <stdout>


When writing more complex scripts, you cannot always invoke your read as the first command in a code block. For example a simple pipeline might be:

» function: example { -> match: 2 }

But this only works if -> is the very first command. The following would fail:

# Incorrect code
function: example {
    out: "only match 2"
    -> match 2

This is where <stdin> comes to our rescue:

function: example {
    out: "only match 2"
    <stdin> -> match 2

This could also be written as:

function: example { out: "only match 2"; <stdin> -> match 2 }


See Also

This site is rebuilt weekly, the content is automatically generated from murex's source code. Last built on Mon Jan 18 06:12:56 UTC 2021 against commit b201020b2010202f9f98b4815673e53285f2f7a362b0231. Downloadable murex binaries are also built weekly. Current version is 1.5.4100 BETA which has been verified against tests.