&&
And Logical
OperatorContinues next operation if previous operation passes
When in the normal run mode (see “schedulers” link below) this will only run the command on the right hand side if the command on the left hand side does not error. Neither stdout nor stderr are piped.
This has no effect in try
nor trypipe
run
modes because they automatically apply stricter error handling.
Second command runs because the first command doesn’t error:
» out one && out two
one
two
When false
Second command does not run because the first command produces an error:
» err one && out two
one
This is equivalent to a try
block:
try {
err one
out two
}
err
):
Print a line to the stderrout
):
Print a string to the stdout with a trailing new line charactertrypipe
): Checks for non-zero exits of each function
in a pipelinetry
):
Handles non-zero exits inside a block of code?:
Elvis Operator:
Returns the right operand if the left operand is falsy (expression)?
stderr Pipe:
Pipes stderr from the left hand command to stdin of the right hand
command (DEPRECATED)||
Or Logical
Operator: Continues next operation only if previous operation
failsThis document was generated from gen/parser/logical_ops_doc.yaml.
This site's content is rebuilt automatically from murex's source code after each merge to the master
branch. Downloadable murex binaries are also built with the website.
Last built on Wed Jul 2 22:12:32 UTC 2025 against commit bb72b6fbb72b6fdd502f835172d7d06207ba4ec2c70886c.
Current version is 7.0.2107 (develop) which has been verified against tests cases.