echo "Staff First Name: Non‑Character or Too Many Characters In Field" continue_prompt
fi
else
echo "Staff First Name: No Input Detected, This Field Requires Characters"
continue_prompt
fi
done
# == Фамилия
while :
do
echo -n "Employee's Surname :"
read S_NAME
if [ "$S_NAME" != "" ]; then if characters $S_NAME; then
$_NAME_PASS=0
else
$_NAME_PASS=1
fi
if length_check $S_NAME 20; then
LEN_PASS=0
else
LEN_PASS=1
fi
if [ "$LEN_PASS"="0" -a "$S_NAME_PASS"= "0" ]; then
break else
echo "Staff Surname: Non‑Character or Too Many Characters In Field" continue_prompt fi else
echo "Staff Surname: No Input Detected, This Field Requires Characters" continue_prompt fi done
# == Отдел
while :
do
echo -n "Company Department :" read DEPART case $DEPART in