Comment by mattmight
"Think of it as an unholy combination of bash and Lisp" reminded me of Scheme Shell: https://scsh.net/
My Ph.D. advisor Olin Shivers created this. It's more pulling bash into Lisp than Lisp into bash.
It doesn't seem to be maintained anymore, but some of its ideas live on in Racket.
I’ve always wanted to ask about the notorious introduction to scsh’s manual… [1] could Olin have been less than 100% satirical there?
[1] https://scsh.net/docu/html/man.html