All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Rubish: A Bash-Compatible UNIX Shell Written in Pure Ruby

By

winebarrel

9d ago· 7 min readenCode

Summary

Rubish is a UNIX shell written entirely in pure Ruby that aims to be fully Bash-compatible while deeply integrating Ruby. Shell syntax is parsed and compiled to Ruby code, then executed by the Ruby VM. It supports all Bash features and allows seamless mixing of shell commands with Ruby code, enabling users to leverage Ruby's powerful programming capabilities within shell scripts.

Key quotes

· 5 pulled
Rubish supports all the features of bash, and the shell syntax is fully compatible.
You can run your existing bash scripts without modification.
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.
If you found any bash script that doesn't work in rubish, we consider it a bug, so please report it!
Snippet from the RSS feed
Contribute to amatsuda/rubish development by creating an account on GitHub.

You might also wanna read