errPrint a line to the stderr
Write parameters to stderr with a trailing new line character.
err string to write -> <stderr>
» err Hello, World!
Hello, World!
err outputs as string data-type. This can
be changed by casting
err { "Code": 404, "Message": "Page not found" } ? cast json
However passing structured data-types along the stderr stream is not
recommended as any other function within your code might also pass error
messages along the same stream and thus taint your structured data. This
is why Murex does not supply a tout function for stderr.
The recommended solution for passing messages like these which you want
separate from your stdout stream is to create a new Murex named
pipe.
» pipe --create messages
» bg { <messages> -> pretty }
» tout <messages> json { "Code": 404, "Message": "Page not found" }
» pipe --close messages
{
"Code": 404,
"Message": "Page not found"
}
err supports ANSI constants.
errbg:
Run processes in the backgroundpipe: Manage Murex named pipescast:
Alters the data-type of the previous function without altering its
outputpt:
Pipe telemetry. Writes data-types and bytes writtenout: Print a string to the stdout with a trailing new
line charactertout: Print a string to the stdout and set it’s
data-typepretty: Prettifies data documents to make it human
readable<pipe>: Reads from a Murex named pipe>>: Writes stdin to disk - appending contents if
file already exists>: Writes stdin to disk - overwriting contents if
file already exists(brace quote):
Write a string to the stdout without new line (deprecated)This document was generated from builtins/core/io/echo_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 Fri Oct 24 08:59:31 UTC 2025 against commit e59ab49e59ab49e1628d8546d2ad8ce5eb1150445f6a940.
Current version is 7.1.4143 (unknown) which has been verified against tests cases.