Created
May 21, 2013 13:07
-
-
Save pads/5619628 to your computer and use it in GitHub Desktop.
This simple script came about as a way to find out what would happen between twikifier and tiddlyspace when testing failure scenarios (such as killing processes randomly).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ $# -lt 3 ]; then | |
echo "Usage: `basename $0` space_url port tiddler_title" | |
exit 1 | |
fi | |
SPACE_URL=$1 | |
PORT=$2 | |
TIDDLER=$3 | |
while [ true ] | |
do | |
wget http://$SPACE_URL:$PORT/$TIDDLER | |
sleep 1 | |
cat $TIDDLER | |
rm $TIDDLER | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment