diff --git a/bin/NumberTea b/bin/NumberTea index 97c91b2..312f65d 100644 --- a/bin/NumberTea +++ b/bin/NumberTea @@ -207,7 +207,7 @@ textTea() { fi ;; - text ) + txt ) local bytes="" for (( i=0; i<${#value}; i++ )); do # Get the UTF-8 byte representation of the character @@ -281,7 +281,7 @@ while [[ "$1" =~ ^-.* ]]; do if [[ $1 =~ ^[01\ ]+$ ]]; then decoded=$(textTea "$1" "bin") else - decoded=$(textTea "$1" "text") + decoded=$(textTea "$1" "txt") fi printf "encoded: ${encoded}\ndecoded: ${decoded}\n\n"