From ed67f90f4940cfab5914fea4d5a53d821c8773c1 Mon Sep 17 00:00:00 2001 From: ekardnam Date: Wed, 20 Feb 2019 16:45:55 +0000 Subject: [PATCH] update bot --- megafono_bot.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/megafono_bot.sh b/megafono_bot.sh index 1c89771..2adf770 100755 --- a/megafono_bot.sh +++ b/megafono_bot.sh @@ -10,21 +10,10 @@ SLEEP_INTERVAL=3h # File containing the toots to post DATA_FILE=test.txt -# A prefix for all toots of this bot -TOOT_PREFIX="#avviso%0A" - # # CONFIGURATION END # -extract_image() { - sed -n -e 's/.*\(.*\)<\/img>.*/\1/p' <<< $1 -} - -extract_text() { - sed -e "s/.*<\/img>/ /g" <<< $1 -} - while : do # Last line should be empty, so we dont need an additional read here