This release introduces a strict mode for variables, new builtin, performance improvements, and better error messages; plus a potential breaking change
There are a number of new features in this release
a
et al) no longer returns an error if the start and end ranges are the same. Instead it returns an array of 1 value.set -u
in Bash). This will mean any variables passed that haven’t been initialized beforehand will cause that pipeline to fail. Currently this is opt in, a future release of Murex will flip that and make it opt out. So take this opportunity to enable it in your ~/.murex_profile
and test your scripts. Enable this via config
:
config: set proc strict-vars true
This feature was requested in issue #380.
datetime
. This builtin allows you to convert date and/or time strings of one format into strings of another format. datetime
is a supercharged alternative to the UNIX command date
aimed at making scripting easier.a
et al) now supports dates. eg [01-Jan-20..05-May-21]
. If no start nor end date appears then mkarray assumes range starts or ends at current date.openagent
profile for image
data types has been improved. Murex now better supports tmux and iTerm2.runtime --config
now displays FileRef
for every set
as well as define
, named FileRefSet
and FileRefDefine
respectively. So you can now easily trace where global config is being set and defined.config
. eg:
config: set shell prompt {
out "{RESET}{YELLOW}${pwd_short} {RESET}» "
}
config: set shell prompt-multiline {
let len = ${pwd_short -> wc -c} - 1
printf "%${$len}s » " $linenum
}
readline
now caches syntax highlighting and hint text to improve the responsiveness of the interactive terminal. This is set to a hard limit of 200 cached items however that will be a configurable metric in a future release. Also planned for the future is caching autocompletion suggestions.fid-list
and jobs
where they were outputting the p.Name
struct rather than p.Name.String()
. This lead to the process name appearing garbled under some circumstances.{BG-BLUE}
emitted the wrong ANSI escape code, this has been corrected.readline
bug fixes.Published: 09.12.2021 at 08:00
ja
): A sophisticated yet simply way to build a JSON arrayta
): A sophisticated yet simple way to build an array of a user defined data-typedatetime
): A date and/or time conversion tool (like printf
but for date and time values)open
” (openagent
): Creates a handler function for open
fid-list
): Lists all running functions within the current Murex sessionopen
): Open a file with a preferred handlerconfig
): Query or define Murex runtime settingsruntime
): Returns runtime information on the internal state of Murexa
): A sophisticated yet simple way to stream an array or list (mkarray)This document was generated from gen/changelog/v2.4_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 Tue Dec 10 22:56:57 UTC 2024 against commit 60f05a260f05a227caf73dd5b3478e3cb3f4bb24e46745b.
Current version is 6.4.1005 (develop) which has been verified against tests cases.