diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2012-12-12 22:40:37 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2012-12-12 22:43:10 -0800 |
commit | f9563edf69f083287630f4b17db70d97524196d6 (patch) | |
tree | 495a75932bf493c4a2afb94f924e3efde4ea70a8 /src/tool/marriage-info.sh | |
parent | 608f959900968e83fd25231c72308fc608742dd5 (diff) | |
download | tmwa-f9563edf69f083287630f4b17db70d97524196d6.tar.gz tmwa-f9563edf69f083287630f4b17db70d97524196d6.tar.bz2 tmwa-f9563edf69f083287630f4b17db70d97524196d6.tar.xz tmwa-f9563edf69f083287630f4b17db70d97524196d6.zip |
Delete old tools
If there was anything you actually used, tell me.
Diffstat (limited to 'src/tool/marriage-info.sh')
-rwxr-xr-x | src/tool/marriage-info.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/tool/marriage-info.sh b/src/tool/marriage-info.sh deleted file mode 100755 index 2389d7f..0000000 --- a/src/tool/marriage-info.sh +++ /dev/null @@ -1,20 +0,0 @@ -#! /bin/sh - -cd ~/tmwserver - -cat save/athena.txt | sort -n > athena-sorted.txt - -printf "Top married couples\n===================\n" > ~/public_html/stats/married.txt -cat athena-sorted.txt | ./marriage-info -c | sort -rn | awk '{printf "%d %s oo %s (%s (%s, %d), %s(%s, %d))\n", ++rank, $3, $6, $3, $4, $5, $6, $7, $8}' | tr '%' ' ' >> ~/public_html/stats/married.txt - -printf "Top female singles\n==================\n" > ~/public_html/stats/female-singles.txt -cat athena-sorted.txt | ./marriage-info -f | sort -rn | awk '{printf "%d %s(%d)\n", ++rank, $3, $1}' | tr '%' ' ' | head -50 >> ~/public_html/stats/female-singles.txt - -printf "Top male singles\n===============\n" > ~/public_html/stats/male-singles.txt -cat athena-sorted.txt | ./marriage-info -m | sort -rn | awk '{printf "%d %s(%d)\n", ++rank, $3, $1}' | tr '%' ' ' | head -50 >> ~/public_html/stats/male-singles.txt - -printf "Top singles\n===============\n" > ~/public_html/stats/singles.txt -cat athena-sorted.txt | ./marriage-info -s | sort -rn | awk '{printf "%d %s(%s, %d)\n", ++rank, $3, $4, $1}' | tr '%' ' ' | head -50 >> ~/public_html/stats/singles.txt - -rm athena-sorted.txt - |