This release introduces a number of new builtins, fixes some regression bugs and supercharges the select
optional builtin (which I plan to include into the core builtins for non-Windows users in the next release).
alter
now supports --sum
where structures are merged and numeric values are added togethercount
. This has deprecated len
however len
will stick around as an alias for backwards compatibilitylet
: +=
, -=
, /=
, *=
addheading
for adding headings to listslen
get set and thus Murex can still move forward with changes to builtins but without breaking backwards compatibilityautocomplete
now passes ISMETHOD
variable to dynamic completions so those dynamic completions are aware if a command requesting auto-completion suggestions is being invoked as a method (mid-pipeline) or function (start of a pipeline)[
, now supports inlining element, [[
, lookups. eg [ a b [/map/c] ]
@IncFiles
or @IncDirs
will now automatically append files and/or directories to their auto-completion suggestionsautocomplete
directives: IncExeAll
(like IncExePath
but includes builtins, functions, aliases), IncManPage
(include results from the man
page parser – usually suppressed when autocomplete
config is set)murex -c 'command'
or when called in a shebang), it’s also now ugly tooselect
now supports passing a file in the FROM syntax. eg select * FROM ./example.csv
. The caveat here is this breaks currently auto-complete on column namesselect
now supports multiple tables using either named pipes (eg select * FROM <table1>, <table2>
) or variables (eg select * FROM \$table1, \$table2
) passed in the FROM syntax. Variables should be escaped and you cannot mix and match between named pipes, file names nor variables. You can use any number of tables from 1 to 2^63-1 (64bit systems) or 1 to 2^31-1 (32bit systems). Which should be more than enough ;)config
option for select
to define default output data type where multiple tables are importedopen
functions can now be called by other functions to take advantage of auto-typing and auto gunzip etc.tmp.Close()
should return err
. This isn’t a bug but it might catch future bugsLazyLogging
created to speed up writing tests against data structuresutils/List
package created to handle list / array / map functions. Also makes testing more complex routines easierprepend
was invoking append
streams.ReadCloser
not setting contextparameters.StringArray()
should copy values instead of a pointer to ensure the underlying parameters are immutablePublished: 12.02.2022 at 16:16
alter
/ ~>
): Change a value within a structured data-type and pass that change along the pipeline without altering the original source inputcount
): Count items in a map, list or arraypipe
): Manage Murex named pipesset
): Define a variable (typically local) and set it’s valueselect
): Inlining SQL into shell pipelines<pipe>
): Reads from a Murex named pipeconfig
): Query or define Murex runtime settingsautocomplete
): Set definitions for tab-completion in the command linelet
: Evaluate a mathematical function and assign to variable (deprecated)This document was generated from gen/changelog/v2.5_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.