membash: Memcache for the BASH shell

I recently had an idea that required using memcache from a BASH script. So, I decided I would write a script that would allow me to do exactly that.

First, I set out to find if anyone had already done that. I found a script on github that supposedly could do that already, but it doesn’t work on Debian-based systems (such as my OS of choice: Ubuntu), and it didn’t seem very user friendly, anyhow. So, I forked that project and created my own version.

Aside from the original script, I found two other resources to help me flesh it out:

I ended up not needing this at all (yet), but it was still a great exercise. The entire script is available below: