# shellcheck disable=SC2312
banner() {
  echo "+------------------------------------------+"
  printf "| %-40s |\n" "$(date)"
  echo "|                                          |"
  printf "|$(tput bold) %-40s $(tput sgr0)|\n" "$@"
  echo "+------------------------------------------+"
}

# banner "Starting the Job"
# sleep 3
#
# banner "Copying files"
# cp /etc/hosts /tmp
# cp /etc/passwd /tmp
# sleep 4
#
# banner "Downloading article"
# curl https://www.shellscript.sh/examples/banner/ >/tmp/banner.html
# sleep 5
#
# banner "Finished."
