12

GitHub - John123Allison/ArnoldShell: Arnold C, if it was a simple shell

 4 years ago
source link: https://github.com/John123Allison/ArnoldShell
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

ArnoldShell

Ever wanted a shell that was composed of Arnold Schwarzenegger one-liners? Well, you're lucky you found this repo, because that is exactly what this is.

NOTE: This is a documentation of me both learning Golang AND how UNIX shells work. It's a huge work-in-progress and probably won't be useful anytime soon.

Because of the way I implemented forking processes, whatever commands you use in your shell of choice should be fully compatible. I like to think of this as a "flavor" layer ;)

Current commands (case sensitive):

GET TO THE CHOPPER -> cd

TALK TO THE HAND -> ls

TIME -> outputs current time

CLEAR -> Clears the screen. Can optionally use lowercase variant that will execute the bash version.

Usage

Clone the directory and run make ArnoldShell, then execute the created binary.

Contributing

Feel free to fork the repo and work on a posted issue or request a new feature and implement it. If I like it I will merge it! Just make sure contributions fit the... "theme" of the project, especially when it comes to new commands.

Contributors

Inspired by the wonderful ArnoldC Language

John Allison (me)

Nicholas Sladic


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK