add tweet script

master
tilde.town 2014-12-29 02:47:39 +00:00
parent e62f75d8c1
commit 4836f9f34e
1 changed files with 11 additions and 0 deletions

11
scripts/tweet 100755
View File

@ -0,0 +1,11 @@
#!/bin/bash
collect=
while read -r; do
collect="$collect / $REPLY"
done
status=$(echo $collect | sed -r 's/^.{2}//')
twurl -X POST "/1.1/statuses/update.json?status=$status"