Commnents and typos.
1 parent e637be9 commit f0c29a425239cd4c51cc91287e870bbe2eed6fc3
@tundra tundra authored on 5 Jun 2012
Showing 1 changed file
View
10
tpromptuser.sh
# 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.112 2012/06/05 20:11:04 tundra Exp $
# $Id: tpromptuser.sh,v 1.113 2012/06/06 02:26:15 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
#
# Prompt<delim>Default Response (If user just hits Enter)<delim>Legal Answers (space separated)
# Notes:
#
# 1) An empty Prompt field means there will be no prompt displayed
# 1) An empty Prompt field means there will be no prompt displayed.
#
# 2) An empty Default Response field means that, if the user hits enter,
# the response is blank
# the response is blank.
#
# 3) An empty Legal Answers field mean the routine will accept *any* input
# 3) An empty Legal Answers field mean the routine will accept *any* input.
#
# 4) It's up to you to make sure the Default Response is a legit answer.
# It is NOT checked against the Legal Answers list.
#
# Answers are stored *back into the variable that contained the prompt info*.
 
 
# Examples