lmorg/murex
View on GitHub ↗ ★ 1,927 Go
A smarter shell and scripting environment with advanced features designed for usability, safety and productivity (eg smarter DevOps tooling)
69 mentions on Hacker News by 8 people: 4 stories, 65 comments · first 2017-04-24 · latest 2025-09-30
20082026
-
Murex has had this capability for years. ( https://github.com/lmorg/murex ) I’m on my phone at the moment and cooking so cannot type any examples, but if I get time, I’ll throw together some comparisons later tonight
comment by hnlmorg · 2025-09-30 · in Dgsh – Directed graph shell -
It’s called Murex: https://github.com/lmorg/murex It’s a typed shell. So you can do jq-like data manipulation against a plethora of different documents. Unlike Zsh et al that are still ostensibly limited to just whitespace-delimited lists.
comment by hnlmorg · 2025-09-05 · in Fil's Unbelievable Garbage Collector -
…hooks to SIGSTSP and I can't do that if I hand ownership of the TTY to the child process. https://github.com/lmorg/murex/blob/master/lang/exec_unix.go... But that means that some tools like Helix then break job control in Murex because…
comment by hnlmorg · 2025-05-06 · in Elvish – Scripting language and interactive shell -
…missing its trailing ":" The trailing ‘:’ was there right after the ‘n’. Examples of this syntax: https://github.com/lmorg/murex/blob/master/builtins/core/arr... I do agree it’s a bit of a kludge. But if you want data types and unquoted…
comment by hnlmorg · 2025-04-13 · in YAML: The Norway Problem (2022) -
…and my shell has the right kind of ergonomics for you, then feel free to leave a feature request: https://github.com/lmorg/murex
comment by hnlmorg · 2025-01-23 · in Bunster: Compile bash scripts to self contained executables -
This is how murex works too https://github.com/lmorg/murex/blob/master/config/defaults/p...
comment by hnlmorg · 2024-04-16 · in Show HN: a Rust based CLI tool 'imgcatr' for displaying images -
Search for “murex Unix shell”. Top hit for me is https://pkg.go.dev/github.com/lmorg/murex
comment by Someone · 2024-01-15 · in Fishshell rewrite-it-in Rust progress: 100% -
…because a lot of these shells don’t offer any guarantees for breaking changes. My own shell, https://github.com/lmorg/murex is committed to backwards compatibility but even here, there are occasional changes made that might break backwards…
comment by hnlmorg · 2023-08-31 · in The case for Nushell -
They don’t. Murex (my shell, https://GitHub.com/lmorg/murex ) is all about the interactive environment. Elvish is too.
comment by hnlmorg · 2023-08-31 · in The case for Nushell -
…every ZWJ character on every terminal emulator but if you find any ZWJ related bugs in murex shell https://GitHub.com/lmorg/murex then it will be treated as a serious bug because Murex does have international users so aims for greater…
comment by hnlmorg · 2023-08-09 · in Terminal Support for Emoji -
Murex ( https://GitHub.com/lmorg/murex ) doesn’t replace coreutils with builtins but manages interop with commands just fine. Most output is relatively easy to parse, sometimes you need to annotate the pipe with what format to expect but…
comment by hnlmorg · 2023-07-13 · in Dt: Duck tape for your Unix pipes -
Interesting project. Is there documentation of the use of backticks as seen in the SQL example? https://github.com/lmorg/murex/blob/master/examples/inline-s... Doesn't seem to be valid quoting? https://github.com/lmorg/murex/blob/master/doc…
comment by e12e · 2023-06-13 · in Show HN: A smarter Unix shell and scripting environment -
…s://en.wikipedia.org/wiki/File:POSIX_Utilities.pdf [1] https://murex.rocks/docs/commands/index.html & https://github.com/lmorg/murex/blob/master/examples/table-in... [2] https://murex.rocks/docs/commands/foreach.html [3]…
comment by hnlmorg · 2023-06-13 · in Show HN: A smarter Unix shell and scripting environment -
…but without sacrificing familiarity with all the CLI commands you already use day in and day out. https://github.com/lmorg/murex As an aside, I’m about to drop a massive update in the next few days that will make the shell even more…
comment by hnlmorg · 2023-03-12 · in Nushell.sh ls | where size > 10mb | sort-by modified -
It's possible without any kernel changes. My shell ( https://github.com/lmorg/murex ) already supports doing that. The way it works is it uses fd3 to communicate schema information so it can natively support all the existing "dumb" pipes…
comment by hnlmorg · 2023-01-10 · in VanadiumOS: Portable, multi-user Unix-like OS -
My shell, https://GitHub.com/lmorg/murex does. It’s not a trivial thing to support though. ‘jobs’, ‘bg’ and ‘fg’ need to be shell builtins. Other shell builtins might not work if they’re not POSIX fork()s and you need to handle STDIN a…
comment by hnlmorg · 2023-01-09 · in Vim: ZZ and zz: Do you know the difference? -
…plug but maybe give murex a look. That’s been stable for a while now and does the same thing too. HTTPS://GitHub.com/lmorg/murex
comment by hnlmorg · 2022-11-03 · in JC – JSONifies the output of many CLI tools -
…into new argv[]s (or in layman’s terms, variables behave like you’d expect variables to behave). https://github.com/lmorg/murex
comment by hnlmorg · 2022-10-27 · in Shell script best practices, from a decade of scripting things -
…Got a link to the project? Would be good to add support for that to my image rendering library: https://github.com/lmorg/murex/blob/c77b893a58a682735ad7502c...
comment by hnlmorg · 2022-05-18 · in Everything you ever wanted to know about terminals -
…which terminal emulator you're using and find the best method for rendering those images. eg https://github.com/lmorg/murex/blob/master/config/defaults/p... There's definitely room for improvement in the whole TTY / shell / terminal…
comment by hnlmorg · 2022-04-26 · in Hush, a modern shell scripting language -
…described are exactly the problems I was looking to solve with my own shell ( https://murex.rocks / https://github.com/lmorg/murex ) > 100% reliable argument passing. That is, when I run `system("git", "clone", $url);` in Perl, I know with…
comment by hnlmorg · 2022-04-26 · in Hush, a modern shell scripting language -
https://github.com/lmorg/murex (Don't be afraid to self promote!) One obvious benefit over what's suggested in the article is that you can use it interactively first, with autocomplete and such goodies, and transition smoothly to a script…
comment by klabb3 · 2022-03-11 · in Scripting with Go -
A quick Google for murex cli -sea yields: https://murex.rocks and https://github.com/lmorg/murex , looks like a promising tool
comment by zto · 2022-03-11 · in Scripting with Go -
…of CSV files. But it proved so useful that I ended up making it an official part of the shell. https://GitHub.com/lmorg/murex
comment by hnlmorg · 2022-03-09 · in The CSV Virtual Table -
…I should write a blog post about this at some point too.... The shell (in it's current form): https://github.com/lmorg/murex (docs on Github too but also accessible via https://murex.rocks )
comment by hnlmorg · 2022-03-02 · in TermKit: A Rich Graphical Terminal (2011) -
Shameless self promotion but this is already possible using my shell https://github.com/lmorg/murex It works with YAML, TOML, JSON, jsonlines, CSV, and regular shell command output. You can import from any data format and convert to any…
comment by hnlmorg · 2022-02-27 · in New JSON query operators in SQLite 3.38.0 -
…but that does also create a learning curve too (I mean you're literally learning a new language). https://github.com/lmorg/murex
comment by hnlmorg · 2022-01-16 · in Gokrazy – A Native Go Userland -
…to Powershell and which do play a lot more nicely with the wider Linux / UNIX ecosystem: - murex https://github.com/lmorg/murex - Elvish https://github.com/elves/elvish - NGS https://github.com/ngs-lang/ngs I'm the maintainer of murex so…
comment by hnlmorg · 2021-12-19 · in Unix Shell Programming: The Next 50 Years -
That paper misses a lot. Including: - murex https://github.com/lmorg/murex - Elvish https://github.com/elves/elvish - NGS https://github.com/ngs-lang/ngs - Powershell - And any language REPLs turned into shells, such as Python, LISP, Lua…
comment by hnlmorg · 2021-12-19 · in Unix Shell Programming: The Next 50 Years -
Such a shell already exists https://github.com/lmorg/murex You’d have to learn a new shell syntax but at least it’s compatible with existing CLI tools (which Powershell isn’t)
comment by laumars · 2021-12-05 · in Tips on adding JSON output to your CLI app -
…converts everything to a string 340: `append` and `prepend` should `ReadArrayWithType` Github repo: https://github.com/lmorg/murex Docs on `foreach`: https://murex.rocks/docs/commands/foreach.html
comment by hnlmorg · 2021-11-24 · in Bash patterns I use weekly -
…https://murex.rocks/docs/commands/private.html [5] https://murex.rocks/docs/commands/args.html [6] https://github.com/lmorg/murex/blob/19d2aeb27e814a4c6fec77d2... [7] https://murex.rocks/docs/commands/test.html
comment by hnlmorg · 2021-11-01 · in Bash functions are better than I thought -
Shameless plug, but so does my shell, https://github.com/lmorg/murex $ open test/example.csv | format generic Login email Identifier One-time password Recovery code First name Last name Department Location rachel@example.com 9012 12se74…
comment by hnlmorg · 2021-09-27 · in Show HN: Tidy Viewer – a cross-platform CSV pretty printer for viewer enjoyment -
Shameless plug but this is exactly what I'm working with my shell https://github.com/lmorg/murex It's designed to work with JSON, YAML, CSV, etc so you don't need to remember jq syntax for JSON, awk for CSV, something else for…
comment by hnlmorg · 2021-09-10 · in I want a better shell (2019) -
This is why I wrote murex shell ( https://github.com/lmorg/murex ), it's an alternative $SHELL, so you'd use it in place of Bash or Zsh, but it's optimised for modern DevOps tools. Which means JSON and YAML are first class citizens. It's…
comment by hnlmorg · 2021-08-22 · in Bringing the Unix philosophy to the 21st century (2019) -
…engineer. The shell doesn't have `tree` inbuilt but it does have FZF-like navigation built in. https://github.com/lmorg/murex I've been using it as my primary shell for a few years now and I'm not going to pretend that it isn't BETA it…
comment by hnlmorg · 2021-07-29 · in Command line tools for productive programmers -
…{ code }` 308: `tabulate` leaks a zero length string entry when used against `rsync --help` Source: https://github.com/lmorg/murex Website: https://murex.rocks
comment by hnlmorg · 2021-06-04 · in Unix Shell Programming: The Next 50 Years [pdf] -
…feedback on the current and any future builds. At some point I'll publish a paper with my ideas. https://github.com/lmorg/murex
comment by hnlmorg · 2021-06-04 · in Unix Shell Programming: The Next 50 Years [pdf] -
Sure, I'd love any and all feedback: https://github.com/lmorg/murex
comment by hnlmorg · 2021-05-25 · in Launch HN: Fig (YC S20) – Autocomplete for the Terminal -
…cover common usecases and have the shell automatically fill in any gaps you might have missed. [0] https://github.com/lmorg/murex [1] https://fishshell.com
comment by hnlmorg · 2021-05-05 · in CLUI: Building a Graphical Command Line (2020) -
…https://murex.rocks and the content there mirrors the README on the git repo which can be found at https://github.com/lmorg/murex
comment by hnlmorg · 2021-04-30 · in Murex shell now supports mixing SQL and shell pipelines -
This is something I've been working on with my shell, https://github.com/lmorg/murex The problem isn't so much finding a way of passing metadata but how do you retain compatibility with existing GNU / UNIX tools? It would be easy to create…
comment by hnlmorg · 2021-04-13 · in The Dawn of a new Command Line Interface (2017) -
It's worth adding mine to the list too: [4]: https://github.com/lmorg/murex Superficially it's quite similar to elvish (purely by coincidence) but it's aimed around local machine use (eg by developers and devops engineers) so is as much…
comment by hnlmorg · 2021-04-12 · in What was the point of [ “x$var” = “xval” ]? -
I've written one specifically to solve if and looping: https://github.com/lmorg/murex (docs: https://murex.rocks ) Others I've not used are oil shell, which aims to be a better Bash. Elvish, which has a heck of a lot of similarities with…
comment by hnlmorg · 2021-04-12 · in What was the point of [ “x$var” = “xval” ]? -
…suggesting it's suitable for everyone though. But it's certainly solved a lot of problems for me. https://github.com/lmorg/murex
comment by hnlmorg · 2021-04-12 · in What was the point of [ “x$var” = “xval” ]? -
…out of academic curiosity. I've created a Github issue so the suggestion doesn't get forgotten: https://github.com/lmorg/murex/issues/281
comment by hnlmorg · 2021-02-27 · in Alternative shell with native support for JSON, YAML, TOML, CSV, etc. -
…project but I'm very much open to feedback, suggestions, feature requests, pull requests, etc... https://github.com/lmorg/murex
comment by hnlmorg · 2021-01-15 · in Ask HN: What are you working on? -
…and still support existing UNIX tools too (which Powershell doesn't play nice with). My own shell, https://github.com/lmorg/murex does this by passing type information along with the byte stream. So _murex_ aware tools can have structured…
comment by hnlmorg · 2020-08-23 · in Show HN: Using Rust to write shell-script like tasks -
…I've got some Go code that you can reuse if you want to the escape codes in Go: https://github.com/lmorg/murex/blob/master/utils/ansi/codes.... Just bare in mind that any numbers you see in documentation are sent as ASCII values rather th
comment by hnlmorg · 2020-06-30 · in Show HN: Curl https://ec2.shop -
…that data when piping to coreutils (etc) you shouldn't have an issue. This is what my shell ( https://github.com/lmorg/murex ) does. It defaults to using JSON as a serialisation format (that's how arrays, maps, etc are stored, how spaces…
comment by hnlmorg · 2020-06-05 · in The Beauty of Unix Pipelines