Show HN: Zenta – Mindfulness for Terminal Users (github.com)
138 points by ihiep 10h ago 27 comments
Show HN: Kokonut UI – open-source UI Library (kokonutui.com)
2 points by kokonutt_ 1h ago 0 comments
My Lights Run on Bash – Tomasz Kramkowski
34 todsacerdoti 8 6/27/2025, 11:09:42 AM kramkow.ski ↗
You don't seem to respect the old, venerable, well-tested adage: "once your shell script becomes too complex, switch to a real programming language like python".
Or, the zen version (formally equivalent, but with quite a different tone): "once your program becomes sufficiently simple, turn it into a beautiful shell script".
https://wiki.ubuntu.com/DashAsBinSh#Why_was_this_change_made...
> [bash] is rather large and slow to start up and operate by comparison with dash
For more complex regular expressions, you can use `sed`.
--
It's all a matter of context. Sometimes simple ## and %% param substitutions are the best tool for the job.
I think bash is a fantastic interactive shell and a lousy script runner.
I basically do the same as the author but use nutshell and its powerful pattern matching [0] as the router
-[0] https://www.nushell.sh/cookbook/pattern_matching.html#patter...