WeSearch

Rubish: A Unix shell written in pure Ruby

·5 min read · 0 reactions · 0 comments · 11 views
#ruby#programming#software#development
Rubish: A Unix shell written in pure Ruby
⚡ TL;DR · AI summary

Rubish is a Unix shell implemented in pure Ruby that allows users to run existing Bash scripts without modification. It deeply integrates Ruby, enabling users to mix shell commands with Ruby code and utilize Ruby's features in their scripts. The shell is fully compatible with Bash and offers unique features like Ruby conditions and method chaining for enhanced functionality.

Key facts
Original article
GitHub
Read full at GitHub →
Opening excerpt (first ~120 words) tap to expand

Rubish A UNIX shell written in pure Ruby. Shell syntax is parsed and compiled to Ruby code, then executed by the Ruby VM. Concept Fully Bash-compatible Rubish supports all the features of bash, and the shell syntax is fully compatible. You can run your existing bash scripts without modification. If you found any bash script that doesn't work in rubish, we consider it a bug, so please report it! Deep Ruby integration Rubish is not just a shell implemented in Ruby, but a shell that deeply integrates Ruby. You can seamlessly mix shell commands and Ruby code, and even use Ruby's powerful features like blocks, iterators, and libraries in your shell scripts.

Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from GitHub