trans

Unnamed repository; edit this file 'description' to name the repository.
git clone git://fqcor.com/trans.git
torsocks git clone git://fqcoretoclxwqpy3dwktkskmwywrcktgnpviesveq6vrjhqhdc6y4fid.onion/trans.git
Log | Files | Refs | README | LICENSE

commit 6bbb503139b7e627a57fcec35718cd07abdde3d4
parent fabd57906b8a2047bc02648e538ec5654e31f363
Author: hhvn <hayden@haydenvh.com>
Date:   Sun, 28 Feb 2021 00:36:51 +0000

botreply: interpret / in morse as space

Signed-off-by: mys <>

Diffstat:
Mbotreply | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/botreply b/botreply @@ -20,9 +20,9 @@ rot(){ _morse(){ orig="$1" - morseonly=$(echo "$orig" | tr -dc '. \t\n-') + morseonly=$(echo "$orig" | tr -dc './ \t\n-') [ "$orig" = "$morseonly" ] && { - echo "$1" | morse -sd + echo "$1" | tr '/' '\t' | morse -sd | tr '\t' ' ' } || { echo "$1" | morse -s | tr '\n' ' ' | tr -s ' ' }