Skip to content

Instantly share code, notes, and snippets.

@HuangXiZhou
Created February 1, 2019 07:20
Show Gist options
  • Save HuangXiZhou/27379e3d72290181d3f00ae02041954d to your computer and use it in GitHub Desktop.
Save HuangXiZhou/27379e3d72290181d3f00ae02041954d to your computer and use it in GitHub Desktop.
FBI WARNING
# _/_/_/_/ _/_/_/ _/_/_/
# _/ _/ _/ _/
# _/_/_/ _/_/_/ _/
# _/ _/ _/ _/
# _/ _/_/_/ _/_/_/
_COLUMNS=$(tput cols)
_MESSAGE=" FBI Warining "
y=$((($_COLUMNS - ${#_MESSAGE}) / 2))
spaces=$(printf "%-${y}s" " ")
echo " "
echo -e "${spaces}\033[41;37;5m FBI WARNING \033[0m"
echo " "
_COLUMNS=$(tput cols)
_MESSAGE="Ferderal Law provides severe civil and criminal penalties for"
y=$((($_COLUMNS - ${#_MESSAGE}) / 2))
spaces=$(printf "%-${y}s" " ")
echo -e "${spaces}${_MESSAGE}"
_COLUMNS=$(tput cols)
_MESSAGE="the unauthorized reproduction, distribution, or exhibition of"
y=$((($_COLUMNS - ${#_MESSAGE}) / 2))
spaces=$(printf "%-${y}s" " ")
echo -e "${spaces}${_MESSAGE}"
_COLUMNS=$(tput cols)
_MESSAGE="copyrighted motion pictures (Title 17, United States Code,"
y=$((($_COLUMNS - ${#_MESSAGE}) / 2))
spaces=$(printf "%-${y}s" " ")
echo -e "${spaces}${_MESSAGE}"
_COLUMNS=$(tput cols)
_MESSAGE="Sections 501 and 508). The Federal Bureau of Investigation"
y=$((($_COLUMNS - ${#_MESSAGE}) / 2))
spaces=$(printf "%-${y}s" " ")
echo -e "${spaces}${_MESSAGE}"
_COLUMNS=$(tput cols)
_MESSAGE="investigates allegations of criminal copyright infringement"
y=$((($_COLUMNS - ${#_MESSAGE}) / 2))
spaces=$(printf "%-${y}s" " ")
echo -e "${spaces}${_MESSAGE}"
_COLUMNS=$(tput cols)
_MESSAGE="(Title 17, United States Code, Section 506)."
y=$((($_COLUMNS - ${#_MESSAGE}) / 2))
spaces=$(printf "%-${y}s" " ")
echo -e "${spaces}${_MESSAGE}"
echo " "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment