header() { SCRNUM="${LABEL}" [[ "_${SCRDATE}" = "_" ]] && SCRDATE=$( date +"%m/%d/%y" ) [[ "_${SERVER}" = "_" ]] && SERVER="${LOGNAME}@$( uname -n )" attrset rev mvaddstr 1 1 "PGM${PRGNUM}" justifyCenter 1 "${HDRLIN1}" justifyLeft 1 "${SERVER}" mvaddstr 2 1 "SCR${SCRNUM}" justifyCenter 2 "${HDRLIN2}" justifyLeft 2 "${SCRDATE}" attroff }