2 ################################################################################
5 # Description: Display functions for Korn Shell Scripts
6 # Author: Andrew@DeFaria.com
7 # Created: Tue Apr 15 14:20:02 PDT 1997
11 # (c) Copyright 2001, Andrew@DeFaria.com, all rights reserved
13 ################################################################################
15 declare -i errornbr=$2
17 if [ $errornbr -ne 0 ]; then
18 echo -e "$me: Error: $1 (Error: $2)"
21 echo -e "$me: Error: $1"
26 declare -i warningnbr=$2
28 if [ $warningnbr -eq 0 ]; then
29 echo -e "$me: Warning: $1"
31 echo -e "$me: Warning: $1 (Warning: $2)"
39 function display_stderr {
44 display "$me: Info: $@"
50 if [ ! -z "$verbose" ]; then
56 if [ ! -z "$debug" ]; then