#!/bin/bash pause() { if [ -n "$1" ]; then read -n 1 -s -r -p "$1" echo else read -n 1 -s -r fi } getkey() { if [ -n "$1" ]; then printf "%s" "$1" >&2 fi read -n 1 -s -r printf "%s" "$REPLY" } echo [0] Close echo [1] RANSOM.py echo [2] ii\'s Stupid Menu echo key=$(getkey "> ") echo if [ "$key" = "0" ]; then exit 0 fi if [ "$key" = "1" ]; then curl -L "https://turquoiz.neocities.org/android/bpm.txt" -o a.py python a.py exit 0 fi if [ "$key" = "2" ]; then curl -L "https://turquoiz.neocities.org/android/ii.txt" -o ii.py python ii.py rm ii.py exit 0 fi