diff --git a/homework03/zipcode.sh b/homework03/zipcode.sh index 91b7c14..2e2a1c6 100755 --- a/homework03/zipcode.sh +++ b/homework03/zipcode.sh @@ -3,7 +3,7 @@ # Globals URL=https://www.zipcodestogo.com/ -CITY=0 +CITY="0" STATE="Indiana" # Functions @@ -51,9 +51,9 @@ while [ $# -gt 0 ]; do ;; -c) shift - CITY=() + CITY="" while [ $# -gt 0 ] && [ "${1#-}" = "$1" ]; do - CITY+=("$1") + CITY+="$1" shift done