diff options
author | Ledmitz <smoothshifter@tuta.io> | 2023-01-06 07:54:40 -0400 |
---|---|---|
committer | Ledmitz <smoothshifter@tuta.io> | 2023-01-06 07:54:40 -0400 |
commit | 52a88caf6a6a84bbc58a4929817d835c49885eb7 (patch) | |
tree | ab241cd629ddb3a7bbedeba90a5d1888a003c742 /tmw-info | |
parent | 830ae2e72a5f0deab0ff6cb7009cad6106f1c9ba (diff) | |
download | tmw-info-52a88caf6a6a84bbc58a4929817d835c49885eb7.tar.gz tmw-info-52a88caf6a6a84bbc58a4929817d835c49885eb7.tar.bz2 tmw-info-52a88caf6a6a84bbc58a4929817d835c49885eb7.tar.xz tmw-info-52a88caf6a6a84bbc58a4929817d835c49885eb7.zip |
Made order of online list alphbetical, while ignoring the case.online_ordering
Diffstat (limited to 'tmw-info')
-rwxr-xr-x | tmw-info | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ if [ "$1" == "help" ] || [ "$1" == "--help" ] || [ "$1" == "-h" ]; then elif [ "$1" == "news" ]; then curl -s 'https://themanaworld.github.io/tmwa-server-data/news.html' | sed 's/<\/*[^>]*>//g' | less elif [ "$1" == "online" ]; then - curl -s 'https://server.themanaworld.org/' | sed 's/<\/*[^>]*>//g' | sed -r '/^\s*$/d' | sed -r '/^\s*Name\s*$/d' | grep -v 'Online Players' | sed 1d | LC_ALL=C sort + curl -s 'https://server.themanaworld.org/' | sed 's/<\/*[^>]*>//g' | sed -r '/^\s*$/d' | sed -r '/^\s*Name\s*$/d' | grep --line-buffered -v 'Online Players' | sed 1d | sort -n elif [ "$1" == "gm-update" ]; then mkdir -p "$TMW_GM_LOGS" #Get list of files from server to read the byte counts from |