Skip to content

Instantly share code, notes, and snippets.

@sposterkil
Last active December 18, 2015 06:09
Show Gist options
  • Save sposterkil/5737652 to your computer and use it in GitHub Desktop.
Save sposterkil/5737652 to your computer and use it in GitHub Desktop.
Demo
#!/bin/bash
menu(
{
while [[ true ]]; do
echo Your Menu
if [[ option1 ]]; then
subroutine1()
fi
done
}
subroutine1()
{
# stuffhere
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment