Welcome to LQ.
Quote:
Originally Posted by pvictory1
make it recognize some input errors
|
- Exactly what type of errors should it recognize (numbers equal or greater than 100, strings, carriage returns, empty $#, what)?
- What have you tried and in what way did it not work (post code and errors)?
Code:
function help() { echo "${FUNCNAME}: Bash scripting guides:
http://www.tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html
http://www.tldp.org/LDP/Bash-Beginners-Guide/html/index.html
http://www.tldp.org/LDP/abs/html/; }