mirror of
https://github.com/datajerk/gameserverclient.git
synced 2024-12-27 20:30:03 +00:00
proper sorting, been a prob for a while
This commit is contained in:
parent
b217a0694a
commit
257c3242d5
4
Makefile
4
Makefile
@ -12,12 +12,12 @@ qrbytes: qrbytes.c
|
|||||||
|
|
||||||
qrcodes.inc: qrcodes.pl qrbytes
|
qrcodes.inc: qrcodes.pl qrbytes
|
||||||
curl -sL http://asciiexpress.net/gameserver/links.html | \
|
curl -sL http://asciiexpress.net/gameserver/links.html | \
|
||||||
sort | \
|
sort -t\" -k 5 | \
|
||||||
./qrcodes.pl >$@
|
./qrcodes.pl >$@
|
||||||
|
|
||||||
titles.inc: titles.pl
|
titles.inc: titles.pl
|
||||||
curl -sL http://asciiexpress.net/gameserver/links.html | \
|
curl -sL http://asciiexpress.net/gameserver/links.html | \
|
||||||
sort | \
|
sort -t\" -k 5 | \
|
||||||
./titles.pl >$@
|
./titles.pl >$@
|
||||||
|
|
||||||
gameserverclient: gameserverclient.s titles.inc qrcodes.inc
|
gameserverclient: gameserverclient.s titles.inc qrcodes.inc
|
||||||
|
Binary file not shown.
Binary file not shown.
2
demo.sh
2
demo.sh
@ -37,7 +37,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
DOWN=$((LINE - 1))
|
DOWN=$((LINE - 1))
|
||||||
TITLE=$(curl -sL http://asciiexpress.net/gameserver/links.html | sort | head -$LINE | tail -1 | awk -F\" '{print $4}')
|
TITLE=$(curl -sL http://asciiexpress.net/gameserver/links.html | sort -t\" -k 5 | head -$LINE | tail -1 | awk -F\" '{print $4}')
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo -n "${TITLE}..."
|
echo -n "${TITLE}..."
|
||||||
|
@ -8,6 +8,7 @@ on run argv
|
|||||||
set my_down to item 6 of argv as number
|
set my_down to item 6 of argv as number
|
||||||
set my_demo to item 7 of argv as number
|
set my_demo to item 7 of argv as number
|
||||||
|
|
||||||
|
-- tell application "/Applications/Virtual ][/7.6/Virtual ][.app"
|
||||||
tell application "Virtual ]["
|
tell application "Virtual ]["
|
||||||
activate
|
activate
|
||||||
-- may need delay for this error: execution error: Virtual ][ got an error: Connection is invalid. (-609)
|
-- may need delay for this error: execution error: Virtual ][ got an error: Connection is invalid. (-609)
|
||||||
|
2
quick.sh
2
quick.sh
@ -37,7 +37,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
DOWN=$((LINE - 1))
|
DOWN=$((LINE - 1))
|
||||||
TITLE=$(curl -sL http://asciiexpress.net/gameserver/links.html | sort | head -$LINE | tail -1 | awk -F\" '{print $4}')
|
TITLE=$(curl -sL http://asciiexpress.net/gameserver/links.html | sort -t\" -k 5 | head -$LINE | tail -1 | awk -F\" '{print $4}')
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo -n "${TITLE}..."
|
echo -n "${TITLE}..."
|
||||||
|
Loading…
Reference in New Issue
Block a user