#!/bin/bash function cprint () { color="$1" shift echo "$(tput setaf $color)$*$(tput sgr0)" } function mprint (){ echo " $1 - $2" } function incorrect_selection() { cprint 1 "Incorrect selection! Try again." } function press_enter() { echo "" cprint 3 "Press Enter to continue " read clear }