Skip to content

Instantly share code, notes, and snippets.

View mathemaphysics's full-sized avatar
🎯
Focusing

Ryan Daly mathemaphysics

🎯
Focusing
  • Defense
  • Arizona
View GitHub Profile
@mathemaphysics
mathemaphysics / stack.sh
Created March 8, 2019 22:26 — forked from bmc/stack.sh
A stack implementation, in bash
# A stack, using bash arrays.
# ---------------------------------------------------------------------------
# Create a new stack.
#
# Usage: stack_new name
#
# Example: stack_new x
function stack_new
{