logoalt Hacker News

ectosphenolast Wednesday at 10:24 PM1 replyview on HN

Ruby is a pretty natural fit for shell scripting.

https://lucasoshiro.github.io/posts-en/2024-06-17-ruby-shell...


Replies

vidarhlast Thursday at 10:19 AM

It's close, but there are some things that could be better to make it easier to access e.g. file size and type. I think maybe a 50-100 line set of helpers and a one line wrapper (to spawn Ruby with -r<helper> -e <command line>) would get you mostly to where nushell is.