I am getting "syntax error near unexpected token `'$#''" in a simple Bash script (3 Solutions!!)

Published --