header.sh 390 B

12345678910111213141516171819
  1. #!/usr/bin/env bash
  2. ## DO NOT MODIFY THE FOLLOWING PART, UNLESS YOU KNOW WHAT IT MEANS ##
  3. echo_r () {
  4. [ $# -ne 1 ] && return 0
  5. echo -e "\033[31m$1\033[0m"
  6. }
  7. echo_g () {
  8. [ $# -ne 1 ] && return 0
  9. echo -e "\033[32m$1\033[0m"
  10. }
  11. echo_y () {
  12. [ $# -ne 1 ] && return 0
  13. echo -e "\033[33m$1\033[0m"
  14. }
  15. echo_b () {
  16. [ $# -ne 1 ] && return 0
  17. echo -e "\033[34m$1\033[0m"
  18. }