Do you write scripts for a POSIX shell? There's a new test runner 'Brat', only a month old:

https://codeberg.org/sstephenson/brat

Brat='Brutal Runner for Automated Tests'. Intentionally small, to be embedded directly in projects, less than 1000 lines, TAP output.

If you've ever used Bats here's a comparison:

https://codeberg.org/sstephenson/brat#comparison-with-bats

(essentially it's more minimal, less dependencies, probably faster, much more portable)

I've been using it to test YSH (Oils project).

#Linux #POSIX #shell #BASH #OilShell

Commentaire dans les commandes multiline shell #bash :

https://notes.sklein.xyz/2025-07-06_1014/

#Oils #oilshell #bash #shell

Journal du Dimanche 06 juillet 2025 à 10:14 - Jardin numérique de Stéphane Klein

Journal du Dimanche 06 juillet 2025 à 10:14

@simonmic Not sure about #oilshell though. I'm very happy with #fishshell for interactive use and when there's a need for advanced scripting, why not use python or javascript directly?
3 Tools for 2025

TLDR; I really wish these tools gain more traction:

Oil updates are always as interesting read for shell nerds https://www.oilshell.org/blog/2024/12/objects.html

#ShellScript #OilShell

Why Should a Unix Shell Have Objects?

osh alone is already worthwhile and succeeding. It also unlocks the way forward - without osh, neither ysh or any other new shell language can ever really get traction. With osh’s support for gradual cleanup, it's possible.

(cc from the #oilshell reddit)

2/

I'm a longtime bash user using osh as my default shell for a year or so now, with only minor noticeable issues. I haven't yet had a need to invest time in the still-being-designed ysh.
I feel osh is the killer feature of the Oils project - 1. a truly compatible, cleaned up, principled bash replacement, with 2. optional knobs you can turn to gain more correctness and power, and 3. the promise of easy interop or migration to the next-gen ysh language, providing future-proofness.

#oilshell

The #oils:matrix.org chat room I started last year, for matrix users to chat about #oilshell, is still an undiscovered secret. But I think it'll grow eventually, and I hope so because Zulip just isn't as easy!
Back from outing: getting out of #fishshell is really hard. Tried going back to #bash (even with #blesh), tried #OilShell and none of them really work (filed bug reports). Sad. Anybody knows about POSIX-compatible interactive shell which actually works and at least from distance can compete with fish?

@bean Lately, #oilshell , which I have started daily driving on Ubuntu, and am working on a build for for FreeBSD.

See more at https://www.oilshell.org and particularly https://www.oilshell.org/blog/2021/01/why-a-new-shell.html

The goal of the project is to build a shell compatible with bash (osh), bust statically parsed and with an upgrade path to a much more powerful shell language (ysh), which improves on the warts of Bourne-lineage shells.

Oils 2016-2024