diff --git a/tpromptuser.sh b/tpromptuser.sh index 5705bbd..f32527c 100755 --- a/tpromptuser.sh +++ b/tpromptuser.sh @@ -2,7 +2,7 @@ # tpromptuser.sh - User Prompting From Shell With validation # Copyright (c) 2010, TundraWare Inc, Des Plaines, IL USA # All Rights Reserved -# $Id: tpromptuser.sh,v 1.108 2010/10/07 22:35:01 tundra Exp $ +# $Id: tpromptuser.sh,v 1.109 2012/06/05 19:28:05 tundra Exp $ ##### # You are hereby granted a non-exclusive license to do whatever you @@ -98,7 +98,7 @@ if [ _$DONE = _False ] then - echo "Invalid Response! Must Be One Of: $answers" + printf "Invalid Response! Must Be One Of: $answers\n" fi fi @@ -162,7 +162,7 @@ # Display the records for purposes of this example only -echo "Before: foo->$foo bar->$bar baz->$baz bat->$bat" +printf "Before: foo->$foo bar->$bar baz->$baz bat->$bat\n" # Go get the user input and validate it @@ -172,5 +172,5 @@ # Dump results for sake of this example only -echo "After: foo->$foo bar->$bar baz->$baz bat->$bat" +printf "After: foo->$foo bar->$bar baz->$baz bat->$bat\n"