mirror of
https://github.com/datajerk/gameserverclient.git
synced 2024-12-26 13:32:32 +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
|
||||
curl -sL http://asciiexpress.net/gameserver/links.html | \
|
||||
sort | \
|
||||
sort -t\" -k 5 | \
|
||||
./qrcodes.pl >$@
|
||||
|
||||
titles.inc: titles.pl
|
||||
curl -sL http://asciiexpress.net/gameserver/links.html | \
|
||||
sort | \
|
||||
sort -t\" -k 5 | \
|
||||
./titles.pl >$@
|
||||
|
||||
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
|
||||
|
||||
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 -n "${TITLE}..."
|
||||
|
@ -8,6 +8,7 @@ on run argv
|
||||
set my_down to item 6 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 ]["
|
||||
activate
|
||||
-- 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
|
||||
|
||||
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 -n "${TITLE}..."
|
||||
|
Loading…
Reference in New Issue
Block a user