murex Shell Docs

Parser Reference: Formatted Pipe (=>) Token

Pipes a reformatted STDOUT stream from the left hand command to STDIN of the right hand command

Description

This token behaves much like the -> pipe would except it injects format generic into the pipeline. The purpose of a formatted pipe is to support piping out to external commands which don't support murex data types. For example they might expect arrays as lists rather than JSON objects).

Examples

» ja: [Mon..Wed] => cat
Mon
Tue
Wed

The above is literally the same as typing:

» ja: [Mon..Wed] -> format generic -> cat
Mon
Tue
Wed

To demonstrate how the previous pipeline might look without a formatted pipe:

» ja: [Mon..Wed] -> cat
["Mon","Tue","Wed"]

» ja: [Mon..Wed] | cat
["Mon","Tue","Wed"]

» ja: [Mon..Wed]
[
    "Mon",
    "Tue",
    "Wed"
]

See Also

This site is rebuilt weekly, the content is automatically generated from murex's source code. Last built on Mon Aug 3 06:12:53 UTC 2020 against commit 2557f7c2557f7cc7535c452c21d89164bd38ed8996f02fd. Downloadable murex binaries are also built weekly. Current version is 0.52.2000 BETA which has been verified against tests.