Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PPSS
- GNU Parallel, where have you been all my life?
-
Bash functions are better than I thought
At one time, I did learn myself to write shell scripts. I even wrote this 3Kl line monstrosity [0]
However, I would strongly advice to master a proper programming language. I respect the article and the efforts of the author, but I feel that it is the past.
I mastered Python a bit and the ability to just use things like dictionaries, proper parsing libraries and such, instead of kilometers of fragile pipes, it is so much better.
I understand something like Python may feel total overkill, but that 10 line shell script suddenly needs quite a bit of error handling and some other features and before you know it, you wish you started out with python or something similar.
[0]: https://github.com/louwrentius/ppss
oh
- Understanding the Power of Lisp (2020)
- Bass – Lisp dialect for scripting the infrastructure beneath your project
-
CommandConsole: A shell written in C
I think an extensible shell like oh shell would be something I would prefer. Though it should not need closures on heap to extend (which is ridolous slow on arithmetic) and generate the data types at compilation time.
-
Bash functions are better than I thought
> Is there a reason we aren’t using a shell with a proper programming language for scripting?
Mostly because the people who want to introduce a "programming language" into the shell don't prioritize being a shell.
Check out the "Oh" shell for contrast. This is what a programming language looks like when you force it to conform to being a shell first priority.
https://github.com/michaelmacinnis/oh
https://www.youtube.com/watch?v=v1m-WEZz46U
This is "Scheme-like" but has FEXPRs so things can be redefined and evaluation can be controlled.
-
Show HN: SectorLISP Now Fits in One Sector
I love chatting about Kernel :D Here's my most recent post: https://lobste.rs/s/d0hogq/problem_with_macros#c_nozcrm
Thanks for showing me Oh! It really has f-exprs?! I didn't immediately see it in https://github.com/michaelmacinnis/oh/blob/main/doc/manual.m...
- Oh, a New Unix Shell
What are some alternatives?
hasura-ci-cd-action
elvish - Powerful scripting language & Versatile interactive shell
pash - PaSh: Light-touch Data-Parallel Shell Processing
sicp - HTML5/EPUB3 version of SICP
docker-flask-example - A production ready example Flask app that's using Docker and Docker Compose.
cl-unix-cybernetics - UNIX system administration in Common Lisp
wrk2 - A constant throughput, correct latency recording variant of wrk
nsd - NGS Scripts Dumpster
xe - simple xargs and apply replacement
oil - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
to - 📜 Touch Lightweight Markup Language; Familiar, Extendable, Auto-Formattable