Deciphering a Complex Bash Script

What do you do when you're confronted with lines and lines of shell script code that you're told to run... but you don't know what's going on? Let's do just that, and decipher the crazy.

Deciphering a Complex Bash Script