diff options
author | Ledmitz <smoothshifter@tuta.io> | 2020-10-27 18:44:17 +0000 |
---|---|---|
committer | Ledmitz <smoothshifter@tuta.io> | 2020-10-27 18:44:17 +0000 |
commit | 708c8e6ee457eaf3a2c8fad2222e5118c3dade13 (patch) | |
tree | a5c1dba63db8000578dd6e676bed550fde806bce /tmw-info | |
parent | 42eb5c67e2d393fd3530f5813b78cf219d0edf96 (diff) | |
download | tmw-info-708c8e6ee457eaf3a2c8fad2222e5118c3dade13.tar.gz tmw-info-708c8e6ee457eaf3a2c8fad2222e5118c3dade13.tar.bz2 tmw-info-708c8e6ee457eaf3a2c8fad2222e5118c3dade13.tar.xz tmw-info-708c8e6ee457eaf3a2c8fad2222e5118c3dade13.zip |
Online List: Removed heading and ordered alphabeticallyonline_ordered
Diffstat (limited to 'tmw-info')
-rwxr-xr-x | tmw-info | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -86,7 +86,8 @@ 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' | sed 1d + #curl -s 'https://server.themanaworld.org/' | sed 's/<\/*[^>]*>//g' | sed -r '/^\s*$/d' | sed -r '/^\s*Name\s*$/d' | sed 1d + 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 elif [ "$1" == "gm-update" ]; then mkdir -p "$TMW_GM_LOGS" # Get list of files from server to read the byte counts from |