| |
---|
| | # tpromptuser.sh - User Prompting From Shell With validation |
---|
| | # Copyright (c) 2010-2012, TundraWare Inc, Des Plaines, IL USA |
---|
| | # All Rights Reserved. |
---|
| | # For Updates: http://www.tundraware.com/Software/tpromptuser |
---|
| | # $Id: tpromptuser.sh,v 1.110 2012/06/05 19:31:50 tundra Exp $ |
---|
| | # $Id: tpromptuser.sh,v 1.111 2012/06/05 20:01:17 tundra Exp $ |
---|
| | |
---|
| | ##### |
---|
| | # You are hereby granted a non-exclusive license to do whatever you |
---|
| | # like with this software so long as you understand this is |
---|
| |
---|
| | |
---|
| | # ---------- Nothing Should Change Below This Line ---------- # |
---|
| | |
---|
| | ##### |
---|
| | # PromptUser() - Shell Function To Prompt And Validate User Input |
---|
| | # tPromptUser() - Shell Function To Prompt And Validate User Input |
---|
| | ##### |
---|
| | |
---|
| | PromptUser() |
---|
| | tPromptUser() |
---|
| | |
---|
| | { |
---|
| | |
---|
| | for x in $PROMPTLIST |
---|
| |
---|
| | done |
---|
| | |
---|
| | } |
---|
| | |
---|
| | # End Of 'PromptUser()' |
---|
| | |
---|
| | |
---|
| | |
---|
| | # ---------- End Of Code ---------- # |
---|
| | |
---|
| | |
---|
| | |
---|
| | # End Of 'tPromptUser()' |
---|
| | |
---|
| | ##### |
---|
| | # Example |
---|
| | ##### |
---|
| |
---|
| | |