A little shell script that will EVENTUALLY print a tweet linking to itself
Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
metaTweet.min.sh
metaTweet.sh

README.md

MetaTweet

A little shell script that will EVENTUALLY print a tweet linking to itself

Install T (https://github.com/sferik/t)

gem install t

Run Script

cd ../filesLocation
chmod u+rwx metaTweet.min.sh
./metaTweet.min.sh

or

#!/bin/bash
A="0";C=0;D=0;
while :; do
E=$(t update "This tweet is the best tweet https://twitter.com/quitequinn/status/$A");D=${E[@]:51:18}
if [ $A -eq $D ]; then
exit
fi
F=$(($D-$C));A=$(($D+$F));yes|t delete status $D;C=$D
done

Wait a long time... Maybe someone can help me here.