Helper functions
Friday, July 29th, 2005Some functions providing nice output formatting and easier user input parsing used by some of my scripts. Get them. Or view them…
#!/bin/bash
#
# Wed Aug 17 11:57:21 CEST 2005 * Miguel de Benito <nonick AT 8027 DOT org>
#
# Helper functions for my scripts
#
# Some colors
#
BLUE="\033[34;01m"
CYAN="\033[36;01m"
GREEN="\033[32;01m"
RED="\033[31;01m"
OFF="\033[0m"
#
# Required tools
#
[ ! -x /bin/stty ] && error_msg "/bin/stty is […]

