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 50ea825a4fdb695cf39ea79393914c73cf99388f
parent 52a96989a76d72e9f0c9508f65a4a959d63d8020
Author: mys <>
Date:   Tue,  2 Mar 2021 22:50:18 +0100

tr in pipeline broke openssl

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

diff --git a/bot b/bot @@ -12,10 +12,10 @@ do ( echo "NICK $nick" echo "USER $nick * * :$nick" - ) | cat - $input | $connect_command | tr -d '\r' | while read res + ) | cat - $input | $connect_command | while read res do echo "$(date "+[%y:%m:%d %T]")$res" >> $log - ./botreply "$res" + ./botreply "$(echo "$res" | tr -d '\r')" done > $input sleep 10