Bang Prefix

Bang prefixing to reverse default actions

Description

Some builtins support a bang prefix, !, which provides a shorthand negative action to default behavior. For example, set defines a variable where as !set will undefine a variable.

Sometimes the shortcut will be logical, like a not operator, as is the case with and where typically each result has to equal true normally or false if used in !and.

Sometimes the shortcut will be more philosophical, such as with config where normal operations is to query or set configuration but !config resets the configuration to defaults (thus operating the same as config default).

Please read the respecting commands doc for details on whether it supports a bang prefix and what the behavior of that prefix is.

See Also


This document was generated from gen/user-guide/bang-prefix_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.